Skip to content

Allow graceful symbol degration to support iOS 15+ at runtime#729

Open
molenick wants to merge 2 commits into
AccessKit:mainfrom
molenick:ios-15-support
Open

Allow graceful symbol degration to support iOS 15+ at runtime#729
molenick wants to merge 2 commits into
AccessKit:mainfrom
molenick:ios-15-support

Conversation

@molenick

Copy link
Copy Markdown

First off - congrats on the release of accesskit_ios! 🎉

I started the process of using accesskit_ios to expose accessibility metadata in my egui app and was getting an immediate runtime crash on iOS 15.8.8. I looked into it and found that a few iOS 17+ symbols were being unconditionally loaded. This work gates the loading of those symbols on iOS 17+ so that iOS 15+ apps can make use of most of accesskit_ios's features.

Testing/Verification
In my private repo I was able to pin accesskit_ios to a local copy of this PR and verify that app was able to build, run and receive accesskit metadata on a real iPhone SE 1st gen running iOS 15.8.8

molenick added 2 commits June 22, 2026 13:51
…upport

    Resolves UIAccessibilityPriorityHigh, UIAccessibilityPriorityLow, and
    UIAccessibilitySpeechAttributeAnnouncementPriority via dlsym so the adapter no
    longer aborts at launch on iOS 15/16. Announcements fall back to a plain,
    unprioritized notification when the symbols are absent.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant