我正在使用MPMediaPickerController选择一个音频文件,一旦我选择,我希望它存储到我的应用程序沙箱(文档目录中的某些位置)。有没有办法这样做?
//I am implementing MPMediaPickerController delegates
- (void)mediaPicker:(MPMediaPickerController *)mediaPicker didPickMediaItems:(MPMediaItemCollection *)mediaItemCollection
{
//Here I can store selected audio into my application sandbox, but don't know how?
NSLog(@"%@",[mediaItemCollection description]);
}