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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software