Instance Property

isAutorotated

A Boolean value that indicates whether the user interface is currently rotated so that it is properly oriented for another viewer.

Declaration

var isAutorotated: Bool { get }

Discussion

Normally, when a user rotates their wrist--for example, to show a watchOS app to another person--the watch is likely to interpret this motion as dropping the wrist and may put the app to sleep. When autorotation is enabled, watchOS instead keeps the interface awake and rotates the content so that it is oriented properly for the viewer.

For more information on enabling autorotation, see isAutorotating.

See Also

Managing the User Interface

var isAutorotating: Bool

A Boolean value that determines whether the interface automatically rotates when the user flips their wrist.

func enableWaterLock()

Disables the Apple Watch touch screen to prevent accidental taps while the watch is submerged.

Deprecated