3

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?

Tab
  • 347
  • 3
  • 14

1 Answers1

2

You can't do that. Every app, including the stock Voice Memos app, will have the bar when it uses the microphone.

Scott Berrevoets
  • 16,921
  • 6
  • 59
  • 80
  • But it will appear and then disappear immediately, the view of my App will be shocked,how to avoid this? – Tab Nov 15 '12 at 07:02
  • Because it takes a moment for the system to realize that recording stopped (which it automatically does when your app is suspended). – Scott Berrevoets Nov 15 '12 at 07:04