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
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 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.
The frame rectangle defining the area of the status bar.
The minimum amount of time (measured in seconds) an app may run a critical background task in the background.
Attempts to open the resource at the specified URL.
Sets the icon of a Newsstand app to an image depicting the current issue of a publication.
A Boolean value that determines whether the status bar is hidden.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software