Contents

WKAccessibilityIsReduceMotionEnabled()

Returns a Boolean value indicating whether reduced motion is enabled.

Declaration

func WKAccessibilityIsReduceMotionEnabled() -> Bool

Discussion

You can use this function to customize your application’s UI when reduced motion is enabled. Note that you can also listen for the WKAccessibilityReduceMotionStatusDidChange (Swift) or WKAccessibilityReduceMotionStatusDidChangeNotification (Objective-C) notification to find out when VoiceOver starts and stops.

See Also

User interface basics