Type Property

main

Returns the screen object representing the device’s screen.

Declaration

class var main: UIScreen { get }

Return Value

The screen object for the device

See Also

Getting the Available Screens

class var screens: [UIScreen]

Returns an array containing all of the screens attached to the device.

var mirrored: UIScreen?

The screen being mirrored by an external display.