Contents

isAutorotated

A Boolean value that indicates whether the system has automatically rotated the user interface 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

Related Documentation

Managing the user interface