The purpose of my code is to return an MPMediaPlaylist object, from a persistentID previously attained.
MPMediaPropertyPredicate *predicate = [MPMediaPropertyPredicate predicateWithValue:persistentID
forProperty:MPMediaPlaylistPropertyPersistentID];
MPMediaQuery *query = [MPMediaQuery playlistsQuery];
[query addFilterPredicate:predicate];
The query.items
are the tracks included in the playlist. What I want to be returned is the playlist itself. How do I get that?