How to hide the red bar under the iOS's status when recording?

会有一股神秘感。 提交于 2019-12-20 02:24:47

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!