Instance Property

windowLevel

The position of the window in the z-axis.

Declaration

@property(nonatomic) UIWindowLevel windowLevel;

Discussion

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 UIWindowLevel.

See Also

Configuring the Window

rootViewController

The root view controller for the window.

UIWindowLevel

The positioning of windows relative to each other.

setScreen:

The screen on which the window is displayed.

Deprecated
canResizeToFitContent

A Boolean value that indicates whether the window's constraint-based content determines its size.

Beta

Beta Software

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