An object that simplifies the playing of looping media content using a queue player.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
You can manually implement looping playback in your app using
AVPlayer provides a much simpler interface to loop a single
AVPlayer. You create a player looper by passing it a reference to your
AVQueue and a template
AVPlayer and the looper automatically manages the looping playback of this content (see example).