Should the location service indicator (arrow in the status bar) be displayed when using the startMonitoringSignificantLocationChanges function?

Is it okay to have a GPS arrow in the status bar indicating that the location service is running when using startMonitoringSignificantLocationChanges ?

Indeed, I do not want this arrow to appear in the status bar when my application is in the background (because the user will think that my application is reducing battery life). But I need to track significant changes in position!

Here is the behavior I have had so far:

  • My application is in the foreground (the arrow does not appear in the status bar)
  • The user presses the home button => Perform startMonitoringSignificantLocationChanges when entering the applicationDidEnterBackground delegate method => an arrow appears ... (which I don't want!)

Please tell me if the arrow in the status bar is normal when starting startMonitoringSignificantLocationChanges and if there is a way to delete it.

Thanks!

+4
source share
1 answer

Yes, it is normal. Your application may be woken up by the operating system to respond to a significant change in location, and this is indicated by a status indicator. There the related iOS bug (Richard Groves answer) in the Locationservice Indicator remains "n" . I do not know a way to suppress the status bar indication.

+1
source

Source: https://habr.com/ru/post/1440499/


All Articles