Instance Property

playerLayer

The AVPlayerLayer instance containing the media to play.

Declaration

@property(nonatomic, readonly) AVPlayerLayer *playerLayer;

Discussion

You associate a player layer with a Picture in Picture controller when you employ the designated initializer, initWithPlayerLayer:. You cannot replace the player layer.

See Also

Creating and Configuring a Picture in Picture Controller

- initWithPlayerLayer:

The designated initializer for a Picture in Picture controller.

delegate

The delegate object for the Picture in Picture controller.

AVPictureInPictureControllerDelegate

Methods you can implement to configure your app’s user interface to respond to user interactions for Picture in Picture on iPad.