3

I want to access songs from media library and then want to cut a part of that song. I have written function to cut a song from bundle and it is working fine. Now I want to allow user to select song from library, how can I do that?

Bartosz Ciechanowski
  • 10,293
  • 5
  • 45
  • 60
Durgaprasad
  • 1,910
  • 2
  • 25
  • 44
  • 2
    Just read out [this post][1] i think this may help you for what you want. [1]: http://stackoverflow.com/questions/8077725/application-crashed-while-importing-songs-from-ipod-library-in-iphone-for-ios-5 – Nilesh Kikani Oct 27 '12 at 11:11

1 Answers1

1

Just like how you access all other media in ios- using AssetsLibrary, more about this here: http://developer.apple.com/library/ios/#documentation/Miscellaneous/Conceptual/iPhoneOSTechOverview/MediaLayer/MediaLayer.html

Be aware that all the media is read only and you can manipulate only a copy of the songs and not the original.

shem
  • 4,686
  • 2
  • 32
  • 43