2

iOS has an Accessibility settings group for Touch Accommodations. I'm trying to read whether or not Touch Accommodations is enabled for the iPad from within my running app, programmatically.

For example, in Swift, you can access the "Assistive Touch" status using

UIAccessibility.isAssistiveTouchRunning

However, I see no similar option for reading the "Touch Accommodations" status. Is there a way?

rmaddy
  • 314,917
  • 42
  • 532
  • 579
Brenbert01
  • 21
  • 1

1 Answers1

0

Check UIAccessibility.isReduceMotionEnabled or go over the views with a for loop and look for UIAccessibilityCustomAction

Haseeb Afsar
  • 619
  • 5
  • 7
  • Thanks for the answer, but "Reduce Motion" is a different accessibility setting than "Touch Accommodations", and UIAccessibilityCustomAction is nil on all of my views. – Brenbert01 Nov 12 '18 at 18:12