---
title: deviceOrientationDidChange()
framework: watchkit
role: symbol
role_heading: Instance Method
path: watchkit/wkapplicationdelegate/deviceorientationdidchange()
---

# deviceOrientationDidChange()

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

## Declaration

```swift
optional func deviceOrientationDidChange()
```

## Discussion

Discussion WatchKit calls this method when the WKInterfaceDevice object’s  wristLocation, crownOrientation, or isAutorotated properties change.

## See Also

### Related Documentation

- [isAutorotating](watchkit/wkextension/isautorotating.md)
- [isAutorotated](watchkit/wkextension/isautorotated.md)

### Monitoring state changes

- [Working with the watchOS app life cycle](watchkit/working-with-the-watchos-app-life-cycle.md)
- [main()](watchkit/wkapplicationdelegate/main().md)
- [applicationDidFinishLaunching()](watchkit/wkapplicationdelegate/applicationdidfinishlaunching().md)
- [applicationDidBecomeActive()](watchkit/wkapplicationdelegate/applicationdidbecomeactive().md)
- [applicationWillResignActive()](watchkit/wkapplicationdelegate/applicationwillresignactive().md)
- [applicationWillEnterForeground()](watchkit/wkapplicationdelegate/applicationwillenterforeground().md)
- [applicationDidEnterBackground()](watchkit/wkapplicationdelegate/applicationdidenterbackground().md)
