AVFoundationSimplePlayer-iOS: Using AVFoundation to Play Media

Last Revision:
Version 2.0, 2016-09-13
Updated to Swift 3
(Full Revision History)
Build Requirements:
Xcode 8.0, iOS 9.0 SDK
Runtime Requirements:
iOS 9.0

Demonstrates how to create a simple movie playback app using only the AVPlayer and AVPlayerLayer classes from AVFoundation (not AVKit). You'll see how to open a movie file and then how to implement various functionality including play, pause, fast forward, rewind, volume adjustment, time slider updating, and scrubbing.