Contents

previousChannelInterstitialViewController(for:)

Asks the delegate for a view controller that describes the layout of the previous channel’s interstitial view.

Declaration

optional func previousChannelInterstitialViewController(for playerViewController: AVPlayerViewController) -> UIViewController

Parameters

  • playerViewController:

    The player view controller.

Discussion

The framework calls this method when the user initiates, but hasn’t yet committed, a change in channel. The framework may call this method while a previous channel’s interstitial view is visible (on screen, or transitioning).

See Also

Responding to Channel Changes