Search code examples
iosswiftaudiostatusbar

Change text in status bar while app in background


I want to change the text of red bar shown below, how do I do it? I see it when my swift app is currently using the microphone and is in the background.

enter image description here


Solution

  • You cannot change it yourself.

    This is a system level event that occurs when your app is running in background stage and using services like location, audio, etc. This link discusses about the types of background services an app can use.