Music Library of the iphone ??

Discussion in 'iPhone/iPad Programming' started by sneha, Nov 13, 2009.

  1. macrumors newbie

    Joined:
    May 24, 2009
    Location:
    India
    #1
    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 ???
    :(:(:(
     
  2. macrumors member

    Joined:
    Jul 2, 2009
    #2
    Maybe it's one of those things that only works on the real device.
     
  3. macrumors demi-god

    fishkorp

    Joined:
    Apr 10, 2006
    Location:
    Ellicott City, MD
    #3
    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.
     
  4. thread starter macrumors newbie

    Joined:
    May 24, 2009
    Location:
    India
    #4
    thanks. It worked:)
     
  5. macrumors member

    Joined:
    Jul 29, 2008
    Location:
    Victoria, Australia
    #5
    There SHOULD be a way to test it on the simulator though. Like by connecting the simulator to iTunes.
     
  6. macrumors newbie

    Joined:
    Apr 17, 2009
    #6
    Hey could you please provide the sample code for accessing the music library of iphone
     

Share This Page