AVFoundationSimplePlayer-iOS: Using AVFoundation to Play Media
Version 2.0, 2016-09-13
Updated to Swift 3
(Full Revision History)
Xcode 8.0, iOS 9.0 SDK
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.