Instance Property

isCaptured

A Boolean value that indicates whether the system is actively cloning the screen to another destination.

Declaration

var isCaptured: Bool { get }

Discussion

A value of YES indicates the system is actively recording, mirroring, or using AirPlay to stream the contents of the screen.

Observe this property and optionally take an appropriate action in your app to prevent the capture of your content. For example, a media app might stop any current media playback and present a dialog to the user describing the reason for the pause.

UIKit sends the capturedDidChangeNotification notification when the capture status of the screen changes.

See Also