Is there a way to programmatically determine the status of Accessibility Assistive Access on iOS 17? I want to be able to adjust the app's behavior or interface based on whether these accessibility features are enabled or not.
Any help or guidance would be greatly appreciated. Thank you!
You shouldn't have to query it. You have to design your app so that it will work properly when Assistive Access is turned on. Check out this Apple video from WWDC23 about this feature - https://developer.apple.com/videos/play/wwdc2023/10032/
At 5:25 it talks about how to adjust your app to work with Assistive Access. You need to add UISupportsFullscreenInAssistiveAccess
to your info.plist and then it refers to various properties you can set to adjust the layout of your app.
This is still a very new feature so there aren't many resources outside of Apple that help.
The video refers to a few other resources from WWDC in 2022 and 2018
WWDC22 - Composing Custom Layouts with Swiftui
WWDC18 - UIKit: Apps for Every Size and Shape