<!--
{
  "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/statusBarOrientation",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(cs)UIApplication(py)statusBarOrientation"
  },
  "title" : "statusBarOrientation"
}
-->

# statusBarOrientation

The current orientation of the app’s status bar.

```
var statusBarOrientation: UIInterfaceOrientation { get set }
```

## Discussion

The value of this property is a constant that indicates an orientation of the status bar. See [`UIInterfaceOrientation`](/documentation/UIKit/UIInterfaceOrientation) for details. Setting this property rotates the status bar to the specified orientation without animating the transition. If your app has rotatable window content, however, you shouldn’t arbitrarily set status-bar orientation using this method. The status-bar orientation set by this method doesn’t change if the device changes orientation. For more on rotatable window views, see [View Controller Programming Guide for iOS](https://developer.apple.com/library/archive/featuredarticles/ViewControllerPGforiPhoneOS/index.html#//apple_ref/doc/uid/TP40007457).

## See Also

[`-  setStatusBarOrientation:animated:`](/documentation/UIKit/UIApplication/setStatusBarOrientation(_:animated:))

Sets the app’s status bar to the specified orientation, optionally animating the transition.



---

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)