I'm creating an app which using the AVAudioRecorder to record voices, when it goes background, a red bar shown on system status bar. I want to show the recording elapsed time on it, like the voice memo. Is it possible, and how?
Thanks.
I'm creating an app which using the AVAudioRecorder to record voices, when it goes background, a red bar shown on system status bar. I want to show the recording elapsed time on it, like the voice memo. Is it possible, and how?
Thanks.
It is not possible because that will use some private api only to apple. The red bar is shown by iOS to indicate there is an app in the background using audio resource, set in UIBackgroundModes in your info.plist, mostly audio or voip.
Because it is shown by iOS you can not modify it.