AVPlayerLooper is a helper class used to simplify playing looping media content using AVQueuePlayer
Since iOS 10, an AVPlayerLooper object can be used to play back video content in a looping manner. This is done by passing it a reference to an AVQueuePlayer and a template AVPlayerItem. The looper will automatically manage the looping playback of the content.