Contents

canStopPictureInPicture

A Boolean value that indicates whether Picture in Picture is active and is able to stop.

Declaration

var canStopPictureInPicture: Bool { get }

Mentioned in

Discussion

When this value is true, calling stopPictureInPicture() stops the active Picture in Picture session. Apps should update the state of UI that starts Picture in Picture when this property value changes.

Thie value is key-value observable.

See Also

Controlling Picture in Picture Playback