I want to save an audio file to the Documents folder of my application while one of the classes in my app is streaming it. How can I do this?
Is it possible to save
(void)applicationWillResignActive:(UIApplication *)application { }
Write your code in the above method in App delegate file.