To show the blue bar, you must
1: Enable Background Location Updatesin target capabilities. Then set locationManager allowsBackgroundLocationUpdatesto YES;
2: Add NSLocationWhenInUseUsageDescriptionto file info.plist(8. 0+ asks for location). Then call the method requestWhenInUseAuthorizationnot method requestAlwaysAuthorization.