Search code examples
iosswiftuiaccessibility

Is there a way to get all device's accessibility settings using UIAccessibility?


I need to delivery content to the user based on some accessibility settings state (on/off).

It seems that UIAccessibility doesn't expose all the settings.

For instance, I know the state of the Closed Captions setting by calling:

UIAccessibility.isClosedCaptioningEnabled

However, the Audio Description one is not exposed. I expected to have something like:

UIAccessibility.isAudioDescriptionEnabled

Best!


Solution

  • Every accessibility options defined in the settings are not necessary reachable.

    I suggest to take a look at:

    • This list containing all the accessibility options with their notification name (ObjC + Swift) to be informed when their state changes hereunder: enter image description here
    • This detailed way of activating each one of them on your device settings.

    This list of accessibility options is exhaustive until new features are exposed by Apple itself.