Instance Property

delegate

The delegate object for the player view controller.

Declaration

weak var delegate: AVPlayerViewControllerDelegate? { get set }

Discussion

Implement the methods declared by the delegate object to respond to user interactions with the Picture in Picture feature on iPad or the navigation features of tvOS. These protocol methods are described in AVPlayerViewControllerDelegate.

See Also

Accessing the Delegate Object

protocol AVPlayerViewControllerDelegate

Methods you can implement to respond to media playback events associated with a player view controller.