iOS Features – Blue Bar

What is Blue Bar?

Blue Bar (The Location Services Status Bar) is a native iOS feature that allows an app to access Continuous Locations Updates when the user has set the permissions to While In Use and the app is in the background. 
The Blue Bar will be displayed at the top of the screen – either across the status bar or behind the clock (the event display changes between iPhone models). This notification lets the user know that the app is utilising the Location Services. 

 

iOS Blue Bar

 

image

If the user has selected the Always Location Permissions, the Blue Bar will not be displayed.

How to enable Blue Bar?

To enable the Blue Bar with the Point SDK, you’ll need to add the following property to the info.plist

Key Type Value
BDPointBackgroundLocationEnabledForWhenInUseKey Boolean YES

 

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
 ...
 <key>BDPointBackgroundLocationEnabledForWhenInUseKey</key>
 <true/>
</dict>
</plist>
Created by Daniel Toro on October 27, 2020