Hide Recording Status Bar When Not Using Microphone
I'm using the AEAudioController to access the microphone when the user presses record. At the beginning of the app, I setup the audio like this:
self.audioController = [[AEAudioController alloc] initWithAudioDescription:audioDescription inputEnabled:YES];
Later when they press record, I add a receiver:
The problem is that when they go into the background, the red "Recording" status bar shows - even when they're not recording. So then I tried setting the category when the mic isn't used:
self.audioController.audioSessionCategory = kAudioSessionCategory_MediaPlayback;
TAAE: Setting audio session category to MediaPlayback 2013-06-01 21:55:16.606 SpeakY[6764:907] AEAudioController.m:1657: AudioSessionSetProperty(kAudioSessionProperty_OverrideCategoryEnableBluetoothInput) result 2003329396 77686174
But when I press the home button, the device shows the red "Recording" status bar at the top. Any idea how I can get this to hide when I'm in the background and not using the mic?