I'm looking for a way to programmatically (i.e. not through an interface) access the iTunes users music library from an iOS application.
(Yes, I know that Apple is discouraging alternative applications for the iPod interface. This is not a question :)
I would like:
- Make a list of song names.
- Ask my app to make them anagram.
- Ask the user to guess the original name of the song.
- If they guess, I play a piece of the song.
(This is not my real application, but it contains all the parts I need). The parts I'm asking for are: How to get a list of song names and, given the name of the song, how to get media to play?
I think that AVAssetReader is what will allow me to play a song as soon as I have my own name, so I can watch it on my own (bonus points for pointers there, though!), So the bottom question is: How to get a list of song names from Library User on iOS?
ios itunes
Olie
source share