Mahesh Verma Mahesh Verma - 1 year ago 101
iOS Question

iOS - Save audio files to iTunes music library

I am working on an audio app where I need to ask user if he/she wish to save the recording. Now my problem is where should I save this file. Till now I googled this and found that apple won't allow to write outside of the sandbox. And writing big files in document directory may cause app rejection. So anyone experienced the same issue, please share solution.

iOS: Saving audio file visible in iTunes Library

Answer Source

Get the image and save like this

UIImageWriteToSavedPhotosAlbum(image, self, @selector(image:didFinishSavingWithError:), nil);

For more info:

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download