Reputation: 11
Can I access the iTunes library of the iPhone inside my app? if so, are there any good tutorials or documentation on the subject?
Upvotes: 1
Views: 937
Reputation: 36169
You cannot access the iPod library audio files.
You can however look up useless metadata, or ask the iPod software to play a tune on your behalf.
It's quite crippled.
Upvotes: 1
Reputation: 58468
You can use the MediaPlayer framework to access the iPod library on the device. You can use the MPMediaPickerController and other related classed to to choose songs or playlists to play in your app, but beyond that you can't do much else.
You can also create queries to select specific types of media.
Upvotes: 1
Reputation:
If you want to control the iPod then you can look at MPMusicPlayerController class or MPMediaQuery class for querying the iTunes library.
You'll find full documentation here:
Upvotes: 2