Class

AVContentProposalViewController

A view controller used to create custom content proposal presentations.

Declaration

@interface AVContentProposalViewController : UIViewController

Overview

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

Topics

Accessing the Player View Controller

playerViewController

The AVPlayerViewController presenting this content proposal.

Configuring the Content View Controller

contentProposal

The associated content proposal.

dateOfAutomaticAcceptance

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

playerLayoutGuide

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

preferredPlayerViewFrame

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

Dismissing the Content View Controller

- dismissContentProposalForAction:animated:completion:

Dismisses the current content proposal.

AVContentProposalAction

Constant values for the content proposal action.

Relationships

Inherits From

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.

AVContentProposal

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