Search code examples
iphoneavaudiorecorder

iPhone - voice recording in background


I'm using AVAudioRecorder and able to record voice of the user. But how can I countinue recording the voice when the app goes to background also?


Solution

  • Honestly, it is allowed, you should set the key UIBackgroundModes's value to audio in the application's Info.plist file.