Contents

playerViewShouldAutomaticallyDismissAtPicture(inPictureStart:)

Asks the delegate if the player view should miniaturize when Picture in Picture starts.

Declaration

optional func playerViewShouldAutomaticallyDismissAtPicture(inPictureStart playerView: AVPlayerView) -> Bool

Parameters

  • playerView:

    The player view.

Return Value

true if the player view should automatically be miniaturized; otherwise false.

See Also

Responding to Picture in Picture Playback Events