I looked thru the documentation a bit but didn't see anything of much substance (but I must not be looking in the right place)
What are my options if I want to iterate through a user's itunes library meta data?
Let's say I want to build an Array of all their song titles. Is this possible with current public SDK APIs?
Dave
Take a look at the MPMusicPlayerController and MPMediaQuery classes, both are available in 3.0.
If you just want to get an array of all songs in the user's library, try this:
MPMediaQuery *query = [[[MPMediaQuery alloc] init] autorelease];
NSArray *items = [query items];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With