Type Property

modeDidChangeNotification

This notification is posted when the current mode of a screen changes.

Declaration

class let modeDidChangeNotification: NSNotification.Name

Discussion

Clients can use this notification to detect changes in the screen resolution.

The object of the notification is the UIScreen object whose currentMode property changed. There is no userInfo dictionary.

See Also

Notifications

class let didConnectNotification: NSNotification.Name

This notification is posted when a new screen is connected to the device.

class let didDisconnectNotification: NSNotification.Name

This notification is posted when a screen is disconnected from the device.

class let brightnessDidChangeNotification: NSNotification.Name

This notification is posted when the brightness of a screen changes.

class let capturedDidChangeNotification: NSNotification.Name

A notification sent when the captured status of the screen changes.