---
title: orientationDidChangeNotification
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uidevice/orientationdidchangenotification
---

# orientationDidChangeNotification

A notification that posts when the orientation of the device changes.

## Declaration

```swift
nonisolated class let orientationDidChangeNotification: NSNotification.Name
```

## Mentioned in

Processing queued notifications

## Discussion

Discussion You can obtain the new orientation by getting the value of the orientation property.

## See Also

### Managing notifications

- [batteryLevelDidChangeNotification](uikit/uidevice/batteryleveldidchangenotification.md)
- [batteryStateDidChangeNotification](uikit/uidevice/batterystatedidchangenotification.md)
- [proximityStateDidChangeNotification](uikit/uidevice/proximitystatedidchangenotification.md)
