I have a MPMediaPickerController in an iPhone application that prompts a user to select a song they wish to play.
What I want to accomplish is similar to the Music/iPod app that is bundled with the operating system on the device. I want the user to select a song from an album but then add all the songs from the album to the “playlist” to play.
So for example: A user selects the 3rd song from an album of 10 songs. I want to populate the items to play with all the songs from that album with the “playlist” index set to 3, just like the Music/iPod App.
Can someone provide me with code for Xcode that will enable me to perform this, what seems, tedious task?
Thanks.
I had the same problem, resorted to using a third party library: https://github.com/jaminguy/JGMediaPicker