In my app I have a user select a song from the library and I receive that song as a MPMediaItem, what I am attempting to figure out is how to play the MediaItem in a separate audio player on the app so the user can control various things about the playback. I looked into some methods of how this is done but they all include having to export and convert the media item into a different audio format. Is it possible for what I am asking to be done?
Thanks again in advance…
I think the class you’ll want to look into is
MPMusicPlaybackController.First you obtain an instance via one of two class methods,
+applicationMusicPlayeror+iPodMusicPlayer. Then you set up a playback queue with either anMPMediaQueryor anMPMediaItemCollection.