<!--
{
  "availability" : [
    "watchOS: 4.0.0 - 9.2.0"
  ],
  "documentType" : "symbol",
  "framework" : "WatchKit",
  "identifier" : "/documentation/WatchKit/WKExtensionDelegate/deviceOrientationDidChange()",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WatchKit"
    ],
    "preciseIdentifier" : "c:objc(pl)WKExtensionDelegate(im)deviceOrientationDidChange"
  },
  "title" : "deviceOrientationDidChange()"
}
-->

# deviceOrientationDidChange()

Tells the delegate that the device’s orientation has changed.

```
optional func deviceOrientationDidChange()
```

## Discussion

This method is called when the [`WKInterfaceDevice`](/documentation/WatchKit/WKInterfaceDevice) object’s  [`wristLocation`](/documentation/WatchKit/WKInterfaceDevice/wristLocation), [`crownOrientation`](/documentation/WatchKit/WKInterfaceDevice/crownOrientation), or [`isAutorotated`](/documentation/WatchKit/WKExtension/isAutorotated) properties change.

## See Also

[`var isAutorotating: Bool`](/documentation/WatchKit/WKExtension/isAutorotating)

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

[`var isAutorotated: Bool`](/documentation/WatchKit/WKExtension/isAutorotated)

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



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)