Picking a song and play from Music app library - Swift 2.0
问题 I just took a basic Swift 2.0 course. I am trying to make an app to select a song from iOS's Music app library and play it. I came across this link which shows how to make media item picker. import UIKit import MediaPlayer class ViewController: UIViewController { @IBOutlet weak var pickSong: UIButton! override func viewDidLoad() { super.viewDidLoad() // Do any additional setup after loading the view, typically from a nib. let mediaPicker = MPMediaPickerController(mediaTypes: .Music) //