-->

How to hide the red bar under the iOS's status

2019-02-25 07:58发布

问题:

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.