Instance Property


A Boolean indicating whether the status bar changes its appearance when an app uses location services in the background.


@property(assign, nonatomic) BOOL showsBackgroundLocationIndicator;


The default value of this property is false. The background location usage indicator is a blue bar or a blue pill in the status bar on iOS; on watchOS the indicator is a small icon. Users can tap the indicator to return to your app.

This property affects only apps that received Always authorization. When such an app moves to the background, the system uses this property to determine whether to change the status bar appearance to indicate that location services are in use. Set this value to true to maintain transparency with the user.

For apps with When In Use authorization, the system changes the appearance of the status bar when the app uses location services in the background.

For more information, see Handling Location Events in the Background.

See Also

Initiating Standard Location Updates

- startUpdatingLocation

Starts the generation of updates that report the user’s current location.

- stopUpdatingLocation

Stops the generation of location updates.

- requestLocation

Requests the one-time delivery of the user’s current location.


A Boolean value indicating whether the location manager object may pause location updates.


A Boolean value indicating whether the app should receive location updates when suspended.


The minimum distance (measured in meters) a device must move horizontally before an update event is generated.


A constant indicating the maximum distance.


A constant indicating that all movement should be reported.


The accuracy of the location data.


The type of user activity associated with the location updates.


Constants indicating the type of activity associated with location updates.