The current orientation of the app's status bar.
- iOS 2.0–9.0Deprecated
- Mac Catalyst 13.0–13.0Deprecated
The value of this property is a constant that indicates an orientation of the receiver's status bar. See
UIInterface 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 should not arbitrarily set status-bar orientation using this method. The status-bar orientation set by this method does not change if the device changes orientation. For more on rotatable window views, see View Controller Programming Guide for iOS.