playerViewController(_:shouldPresent:)
Asks the delegate whether the player view controller presents a content proposal.
Declaration
optional func playerViewController(_ playerViewController: AVPlayerViewController, shouldPresent proposal: AVContentProposal) -> BoolParameters
- playerViewController:
The player view controller.
- proposal:
The content proposal to present.
Mentioned in
Return Value
true if the player view controller should propose the content; otherwise false.