Instance Property


The desired frame of the player view during presentation of the content proposal.


var preferredPlayerViewFrame: CGRect { get }


By default, this returns the entire screen bounds, but custom view controllers may return a smaller rectangle, or CGRectZero to hide the player view completely. If you return a rectangle smaller that the fullscreen bounds, the player view frame will be animated to its new position and size.

See Also

Configuring the Content View Controller

var contentProposal: AVContentProposal?

The associated content proposal.

var dateOfAutomaticAcceptance: Date?

The date when this content proposal is scheduled to be automatically accepted.

var playerLayoutGuide: UILayoutGuide

A layout guide that tracks the size and location of the player view.