Type Property

didConnectNotification

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

Declaration

class let didConnectNotification: NSNotification.Name

Discussion

Connection notifications are not sent for screens that are already present when the application is launched. The application can instead use the screens method to get the current set of screens at launch time.

The object of the notification is the UIScreen object representing the new screen. There is no userInfo dictionary.

See Also

Notifications

class let didDisconnectNotification: NSNotification.Name

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

class let modeDidChangeNotification: NSNotification.Name

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

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.