learner11
learner11

Reputation: 11

iOS iTunes Integration

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

Answers (3)

Gordon Childs
Gordon Childs

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

Jasarien
Jasarien

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

user138336
user138336

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:

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

Upvotes: 2

Related Questions