Structure

UIWindow.Level

The positioning of windows relative to each other.

Declaration

struct Level

Overview

The stacking of levels takes precedence over the stacking of windows within each level. That is, even the bottom window in a level obscures the top window of the next level down. Levels are listed in order from lowest to highest.

Topics

Window Levels

static let statusBar: UIWindow.Level

The level for a status window.

static let alert: UIWindow.Level

The level for an alert view.

Relationships

See Also

Configuring the Window

var rootViewController: UIViewController?

The root view controller for the window.

var windowLevel: UIWindow.Level

The position of the window in the z-axis.

var screen: UIScreen

The screen on which the window is displayed.

Deprecated
var canResizeToFitContent: Bool

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