Instance Method

pictureInPictureControllerWillStopPictureInPicture(_:)

Tells the delegate when Picture in Picture is about to stop.

Declaration

optional func pictureInPictureControllerWillStopPictureInPicture(_ pictureInPictureController: AVPictureInPictureController)

Parameters

pictureInPictureController

The Picture in Picture controller to which you’ve assigned the delegate.

See Also

Responding to Picture in Picture Playback Events

func pictureInPictureControllerWillStartPictureInPicture(AVPictureInPictureController)

Tells the delegate when Picture in Picture is about to start.

func pictureInPictureControllerDidStartPictureInPicture(AVPictureInPictureController)

Tells the delegate that Picture in Picture playback has started.

func pictureInPictureControllerDidStopPictureInPicture(AVPictureInPictureController)

Tells the delegate when Picture in Picture playback stops.