AVLoupe

Last Revision:
Version 1.1, 2016-08-12
Replaced deprecated UIPopoverController with UIViewController presentation. Updated for iOS 9 SDK. Added Launch Storyboard. Other miscellaneous changes.
(Full Revision History)
Build Requirements:
iOS SDK 9.0 or later.
Runtime Requirements:
iOS 8.0 or later.

This sample demonstrates how to use multiple synchronized AVPlayerLayer instances, associated with a single AVPlayer, to efficiently produce non-trivial presentation of timed visual media. Using just one AVPlayer this sample demonstrates how you can display the same video in multiple AVPlayerLayers simultaneously. With minimal code you can create very customized and creative forms of video display. As an example, this sample demonstrates an interactive loupe, or magnifying glass, for video playback. This is similar to features that you might have used in iPhoto and Aperture.

This sample was explored in the WWDC 2012 session 517: Real-Time Media Effects and Processing during Playback. <https://developer.apple.com/library/ios/samplecode/AVLoupe/>