WKAccessibilityIsVoiceOverRunning()
Returns a Boolean value indicating whether VoiceOver is running.
Declaration
func WKAccessibilityIsVoiceOverRunning() -> BoolReturn Value
true if VoiceOver is currently running or false if it is not.
Discussion
You can use this function to customize your application’s UI specifically for VoiceOver users. For example, you might want UI elements that usually disappear quickly to persist onscreen for VoiceOver users. Note that you can also listen for the WKAccessibilityVoiceOverStatusChanged notification to find out when VoiceOver starts and stops.