If you've used Location services on iOS you might have noticed that there's a blue bar showing when the app is in the background and using the GPS:
I noticed my app doesn't show this anymore, so I started wondering if something had broken. Couldn't really find anything in the forum, so I decided to explore the World Wide Web and found this page explaining it:
iOS 11 Location Services Blue Bar
https://forums.developer.apple.com/thread/84125
This is the explanation, copied from the page:
So, as far as I can tell this means that the bar won't really appear automatically anymore. That's up to the app to decide, whether to show it or not, at least if you have the Always authorization. This also seems to make When-in-use authorization less interesting, as that always produce the blue bar.
I thought some other forum members might find this interesting.
I noticed my app doesn't show this anymore, so I started wondering if something had broken. Couldn't really find anything in the forum, so I decided to explore the World Wide Web and found this page explaining it:
iOS 11 Location Services Blue Bar
https://forums.developer.apple.com/thread/84125
This is the explanation, copied from the page:
Starting with Beta 5, in iOS 11, the Blue Bar will appear when an Always authorized app opts-in to displaying the blue bar while it is actively receiving Continuous Background Location updates via startUpdatingLocation()
There’s a new property on CLLocationManager that Always authorized apps can use to control the visibility of their blue bar.
@property(assign, nonatomic) BOOL showsBackgroundLocationIndicator
When-in-use authorized apps will continue showing the Blue Bar as before.
No other service will turn on the Blue Bar. When an app which makes use of any other location service receives an occasional update (for example Significant Location Change), the location arrow on the status bar will momentarily blink solid, but the Blue Bar will not appear.
There’s a new property on CLLocationManager that Always authorized apps can use to control the visibility of their blue bar.
@property(assign, nonatomic) BOOL showsBackgroundLocationIndicator
When-in-use authorized apps will continue showing the Blue Bar as before.
No other service will turn on the Blue Bar. When an app which makes use of any other location service receives an occasional update (for example Significant Location Change), the location arrow on the status bar will momentarily blink solid, but the Blue Bar will not appear.
So, as far as I can tell this means that the bar won't really appear automatically anymore. That's up to the app to decide, whether to show it or not, at least if you have the Always authorization. This also seems to make When-in-use authorization less interesting, as that always produce the blue bar.
I thought some other forum members might find this interesting.