skipToPreviousItem(for:)
Tells the delegate when the user requests skipping to the previous item in the timeline.
Declaration
optional func skipToPreviousItem(for playerViewController: AVPlayerViewController)Parameters
- playerViewController:
The player view controller.
Discussion
The framework calls this method when you set the player view controller’s skipping behavior to AVPlayerViewControllerSkippingBehavior.skipItem and a user performs a backward skip gesture (by pressing the left side of the Siri Remote’s Touch surface). Implement this method to update the player view controller’s player to play the previous player item.