Instance Property

autorotating

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

Declaration

@property(nonatomic, getter=isAutorotating) BOOL autorotating;

Discussion

Defaults to NO.

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.

Do not enable autorotation indefinitely. Instead, enable it selectively on a specific interface controller that the user is likely to share. For example, in the interface controller's willActivate method, set this property to YES. In the didDeactivate method, set it back to NO.

See Also

Managing the User Interface

autorotated

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

- enableWaterLock

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

Deprecated