Returns a Boolean value indicating whether VoiceOver is running.
SDKs
- iOS 4.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
Framework
- UIKit
Declaration
static var isVoiceOverRunning: Bool { get }
Return Value
true
if VoiceOver is currently running; otherwise, false
.
Discussion
You can use this function to customize your app’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 voice
notification to find out when VoiceOver starts and stops.