Search code examples
iphonecocoa-touchios4ipodmpmediapickercontroller

iPhone SDK: How can I write an audio file picked from iPod Library into my app's Documents Folder?


How can I write an audio file picked from mediaPicker into my app's Documents Folder?

Basically I am selecting a audio file from iPod Library.

I want that this selected file be copied into my app's Documents folder.

So that I can reference it from my app's Documents folder.

What can be done?

Thanks.


Solution

  • I found a way to convert iPod libray song and write it to documents directory, using

    From iPod Library to PCM Samples in Far Fewer Steps Than Were Previously Necessary

    Thanks Mats Stijlaart for your help. But I got the solution for this.

    Hope this helps everyone.