问题
I used AVAudioRecorder to record the voice.I found that a red bar (just like the bar when you calling in background) will appear under the status bar sometimes when I alloc it and begin to record.How to hide it?
回答1:
You can't do that. Every app, including the stock Voice Memos app, will have the bar when it uses the microphone.
来源:https://stackoverflow.com/questions/13391311/how-to-hide-the-red-bar-under-the-ioss-status-when-recording