init(contentSource:)
Creates a Picture in Picture controller with a content source.
Declaration
init(contentSource: AVPictureInPictureController.ContentSource)Parameters
- contentSource:
The source of the content to show in a Picture in Picture window.
Discussion
Use this initializer to create a controller that displays its content in a player layer or a sample buffer display layer.