2

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!

2 Answers2

2

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.

XLE_22
  • 5,124
  • 3
  • 21
  • 72
0

Check out this framework. It is pretty handy when it comes to accessibility settings in iOS. --> https://github.com/chrs1885/Capable

edhnb
  • 2,122
  • 3
  • 24
  • 38