The position of the window in the z-axis.
- iOS 2.0+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
Window levels provide a relative grouping of windows along the z-axis. All windows assigned to the same window level appear in front of (or behind) all windows assigned to a different window level. The ordering of windows within a given window level is not guaranteed.
The default value of this property is
UIWindowLevelNormal. For a list of other possible window levels, see
Configuring the Window
The screen on which the window is displayed.
A Boolean value that indicates whether the window's constraint-based content determines its size.
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