tags:

views:

60

answers:

3

can i access the iTunes library of the iphone device in my app. if yes, then can u point me in the right direction.

+2  A: 

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:

http://developer.apple.com/iphone/library/documentation/Audio/Conceptual/iPodLibraryAccess_Guide/Introduction/Introduction.html

John S. Eddie
+1  A: 

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.

Jasarien
+1  A: 

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.

Rhythmic Fistman