<!--
{
  "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/UIApplicationDelegate/application(_:didChangeStatusBarFrame:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UIApplicationDelegate(im)application:didChangeStatusBarFrame:"
  },
  "title" : "application(_:didChangeStatusBarFrame:)"
}
-->

# application(_:didChangeStatusBarFrame:)

Tells the delegate when the frame of the status bar has changed.

```
optional func application(_ application: UIApplication, didChangeStatusBarFrame oldStatusBarFrame: CGRect)
```

## Parameters

`application`

Your singleton app object.

`oldStatusBarFrame`

The previous frame of the status bar, in screen coordinates.

## Discussion

After calling this method, the app also posts a [`didChangeStatusBarFrameNotification`](/documentation/UIKit/UIApplication/didChangeStatusBarFrameNotification) notification to give interested objects a chance to respond to the change.

---

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)