Contents

WKAccessibilityIsVoiceOverRunning()

Returns a Boolean value indicating whether VoiceOver is running.

Declaration

func WKAccessibilityIsVoiceOverRunning() -> Bool

Return 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.

See Also

User interface basics