-3

My app keeps listening to voices and analysis them to detect real panic screams. So I want to keep the app running 24/7, but when my app goes in background, the red bar appears on top. Since the recording has to be running for longer period, my app users won't afford to use it anymore. Do you think there is anyway to hide it while recording in background, does Apple has such policy to allow us in such case? The same question was asked but none is given an answer yet.

I am using AVAudioSession with category AVAudioSessionCategoryPlayAndRecord with options AVAudioSessionCategoryOptionMixWithOthers

jscs
  • 63,694
  • 13
  • 151
  • 195
Chanchal Raj
  • 4,176
  • 4
  • 39
  • 46
  • I see no point people down voting this question. If you are down voting it, please write some reason of doing so too. – Chanchal Raj Oct 10 '16 at 17:04

1 Answers1

5

Do you think there is anyway to hide it while recording in background

Not "while recording in background". The user needs to know that this is happening.

You can eliminate the red bar — by changing your category and not recording in the background.

But you cannot record in the background without showing the red bar while you are in the background.

matt
  • 515,959
  • 87
  • 875
  • 1,141