---
title: "previousChannelInterstitialViewController(for:)"
framework: avkit
role: symbol
role_heading: Instance Method
path: "avkit/avplayerviewcontrollerdelegate/previouschannelinterstitialviewcontroller(for:)"
---

# previousChannelInterstitialViewController(for:)

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

## Declaration

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

## Parameters

- `playerViewController`: The player view controller.

## Discussion

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). important: Only live video streams support channel skipping. This feature isn’t supported for VOD streams or local media.

## See Also

### Responding to Channel Changes

- [playerViewController(_:skipToNextChannel:)](avkit/avplayerviewcontrollerdelegate/playerviewcontroller(_:skiptonextchannel:).md)
- [playerViewController(_:skipToPreviousChannel:)](avkit/avplayerviewcontrollerdelegate/playerviewcontroller(_:skiptopreviouschannel:).md)
- [nextChannelInterstitialViewController(for:)](avkit/avplayerviewcontrollerdelegate/nextchannelinterstitialviewcontroller(for:).md)
