---
title: willChangeStatusBarOrientationNotification
framework: uikit
role: symbol
role_heading: Type Property
path: uikit/uiapplication/willchangestatusbarorientationnotification
---

# willChangeStatusBarOrientationNotification

Posted when the app is about to change the orientation of its interface.

## Declaration

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

## Discussion

Discussion The userInfo dictionary contains an NSNumber that encapsulates a UIInterfaceOrientation value (see UIInterfaceOrientation). Use statusBarOrientationUserInfoKey to access this value.

## See Also

### Deprecated notifications

- [willChangeStatusBarFrameNotification](uikit/uiapplication/willchangestatusbarframenotification.md)
- [didChangeStatusBarFrameNotification](uikit/uiapplication/didchangestatusbarframenotification.md)
- [didChangeStatusBarOrientationNotification](uikit/uiapplication/didchangestatusbarorientationnotification.md)
