Contents

capturedDidChangeNotification

A notification that posts when the capture status of a screen changes.

Declaration

nonisolated class let capturedDidChangeNotification: NSNotification.Name

Discussion

The contents of a screen can be recorded, mirrored, sent over AirPlay, or otherwise cloned to another destination. UIKit sends this notification when the capture status of the screen changes.

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

The system posts this notification on the main actor.

See Also

Notifications