Instance Property

availableModes

The display modes that can be associated with the screen.

Declaration

var availableModes: [UIScreenMode] { get }

Discussion

The array contains one or more UIScreenMode objects, each of which represents a display mode supported by the screen.

See Also

Accessing the Screen Modes

var currentMode: UIScreenMode?

The current screen mode associated with the screen.

var preferredMode: UIScreenMode?

The preferred display mode for the screen.