View Full Version : Music Library of the iphone ??

Nov 13, 2009, 05:33 AM
For the photos stored on the iphone i use photo Library ( UIImagePickerControllerSourceTypePhotoLibrary and UIImagePicker).:)

Now i want to use the music files which are stored on the phone.:rolleyes:

How can i access it. I have already checked out the code provided by apple but its not working on my simulator ??:confused::confused:

Does any one know how to do it ???

Nov 13, 2009, 05:48 AM
but its not working on my simulator ??
Maybe it's one of those things that only works on the real device.

Nov 13, 2009, 07:10 AM
Wirelessly posted (Mozilla/5.0 (iPhone; U; CPU iPhone OS 3_1_2 like Mac OS X; en-us) AppleWebKit/528.18 (KHTML, like Gecko) Version/4.0 Mobile/7D11 Safari/528.16)

The simulator doesn't have a music library. You have to test on a real device.

Nov 16, 2009, 02:47 AM
thanks. It worked:)

Nov 16, 2009, 07:39 PM
There SHOULD be a way to test it on the simulator though. Like by connecting the simulator to iTunes.

Nov 16, 2009, 11:00 PM
Hey could you please provide the sample code for accessing the music library of iphone