/ Published in: iPhone
First you need to create an MPMediaQuery using the playListsQuery. Then, you loop through each playlist and retrieve the valueForProperty.
Expand |
Embed | Plain Text
MPMediaQuery *query = [MPMediaQuery playlistsQuery]; for(int i = 0; i < [playlists count]; i++) { NSLog(@"%@", [[playlists objectAtIndex:i] valueForProperty: MPMediaPlaylistPropertyName]); }
You need to login to post a comment.
