A view controller used to create custom content proposal presentations.


class AVContentProposalViewController : UIViewController


Your app should subclass this class and provide the interface to present your content proposal.


Accessing the Player View Controller

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.

var preferredPlayerViewFrame: CGRect

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

Dismissing the Content View Controller

enum AVContentProposalAction

Constant values for the content proposal action.

See Also

Up Next Content

Presenting Content Proposals (tvOS)

Display a preview of an upcoming media item at the conclusion of the currently playing media item.

class AVContentProposal

An object that describes the content proposed to follow the current item.