Home  »  Swift Source  »  Swift Audio Player using AVFoundation Library

Swift Audio Player using AVFoundation Library

Posted on 05 Nov 2015

Swift Audio Player in iOS9 using AVFoundation Library

Audio player demo application build using Swift 2, Xcode 7, and iOS 9.

Swift based sample application build using AVFoundation library. It uses AVAudioPlayer for playing mp3 file. This application can be used as a base for any Audio Player project to expand it’s functionality. It’s free for personal or commercial use.

It consist functionality below:
– Load mp3 using AVAudioPlayer
– Change Track (Next, Previous).
– Play, Pause current track.
– Currently Playing label.

Technology used
– AVFoundation library.
– AVAudioPlayer component.
– Simple and Clean interface.
– Build with Xcode storyboard.
– Adaptive layout for major screen size support.
– Created with Swift 2, Xcode 7, iOS 9.

Platform
– Swift 2
– Xcode 7
– iOS 9

Supported Device
iPhone 4s, 5, 5s, 5c, 6, 6 Plus, 6s, 6s Plus, all iPad having iOS 9.

You can download source form GitHub profile.

Go to Top