I want to save the audio file in the Documents folder of my application, while one of the classes in my application transfers it. How can i do this?
Can I save streaming audio directly to mp3? (if the sound file being broadcast is mp3 or do I need to use caf?)
Thank.
<i> Edit: what if I run the save on another thread and the user exits the application? I know that the application cannot run in the background on the iPhone, but is there a way to stop the download and delete the partially saved file when the user exits the application? Can I get an exit signal inside a class or delegate for NSURLConnection?
source
share