Andrews J
Andrews J

Reputation: 187

Get playlists from iPod library - Objective C

I'm build an app which should import all the iPod library items. I have done with importing all the songs, now i want to know how to import the playlists and albums from the library. Provide me some suggestions or the example Code. Thank you.

Upvotes: 0

Views: 1415

Answers (1)

Tirth
Tirth

Reputation: 7789

I hope its enough to give all information to you, Read this.

And if you are looking for sample code then visit this.

It will return all albums,

MPMediaQuery *allAlbums = [MPMediaQuery albumsQuery];
NSArray *albumArray = [allAlbums collections];

Upvotes: 3

Related Questions