<!--
{
  "availability" : [
    "iOS: 2.0.0 - 13.0.0",
    "iPadOS: 2.0.0 - 13.0.0",
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIApplication/willChangeStatusBarFrameNotification",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@UIApplicationWillChangeStatusBarFrameNotification"
  },
  "title" : "willChangeStatusBarFrameNotification"
}
-->

# willChangeStatusBarFrameNotification

Posted when the app is about to change the frame of the status bar.

```
nonisolated class let willChangeStatusBarFrameNotification: NSNotification.Name
```

## Discussion

The `userInfo` dictionary contains an <doc://com.apple.documentation/documentation/Foundation/NSValue> object that encapsulates a <doc://com.apple.documentation/documentation/CoreFoundation/CGRect> structure expressing the location and size of the new status bar frame. Use [`statusBarFrameUserInfoKey`](/documentation/UIKit/UIApplication/statusBarFrameUserInfoKey) to access this value.

---

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)