isAutorotating
A Boolean value that determines whether the interface automatically rotates when the user flips their wrist.
Declaration
var isAutorotating: Bool { get set }Discussion
This property defaults to false.
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 you enable autorotation, watchOS instead keeps the interface awake and rotates the content, orienting it properly for the viewer.
Don’t 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 true. In the didDeactivate() method, set it back to false.