Contents

voiceOverStatusDidChangeNotification

A notification that UIKit posts when VoiceOver starts or stops.

Declaration

nonisolated static let voiceOverStatusDidChangeNotification: NSNotification.Name

Discussion

Use this notification to customize your app’s UI for VoiceOver users. For example, if you display a UI element that briefly overlays other parts of your UI, you can make the display persistent for VoiceOver users, but allow it to not appear for users who aren’t using VoiceOver. You can also use the isVoiceOverRunning function to determine whether VoiceOver is currently running.

Observe this notification using the default notification center. This notification doesn’t include a parameter.

See Also

VoiceOver