Instance Property

playerLayoutGuide

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

Declaration

var playerLayoutGuide: UILayoutGuide { get }

Discussion

The view controller can constrain its views using the anchors of the player layout guide, which has the same size and position as the player view. This layout guide will always be relative to the current preferredPlayerViewFrame.

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 preferredPlayerViewFrame: CGRect

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