Search code examples
iosbackgroundstatusbar

iOS Location status message on background doesn't show


I've implemented a CLLocation like waze to get the users location on background mode, I want to show the bar like "incall" showing that I'm getting the location.

I don't know why the bar doesn't show, I have in the info.plist this

Key : NSLocationAlwaysUsageDescription.


Solution

  • I assume you are talking about the blue "navigation" bar that appears under the status bar.

    That only appears when an app is being used for navigation. An app that simply gets location in the background does not show the blue bar (or any other color bar).