Contents

playerViewControllerWillStopPictureInPicture(_:)

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

Declaration

optional func playerViewControllerWillStopPictureInPicture(_ playerViewController: AVPlayerViewController)

Parameters

  • playerViewController:

    The player view controller to which you’ve assigned the delegate.

Mentioned in

Discussion

Implement this method to update the state of your user interface, like presenting or enabling playback controls.

See Also

Responding to Picture in Picture Life Cycle Events