iOS Question User Position and "significant-change location service"

mauro vicamini

Active Member
Licensed User
Longtime User
Hi Everyone,
according to Apple Documentation I'd like to use "significant-change location service" to keep track of the user position when the app is not active.
How to use it in B4I?
https://developer.apple.com/library.../BackgroundExecution/BackgroundExecution.html

Tracking the User’s Location
There are several ways to track the user’s location in the background, most of which do not actually require your app to run continuously in the background:

  • The significant-change location service (Recommended)

  • Foreground-only location services

  • Background location services
The significant-change location service is highly recommended for apps that do not need high-precision location data. With this service, location updates are generated only when the user’s location changes significantly; thus, it is ideal for social apps or apps that provide the user with noncritical, location-relevant information. If the app is suspended when an update occurs, the system wakes it up in the background to handle the update. If the app starts this service and is then terminated, the system relaunches the app automatically when a new location becomes available. This service is available in iOS 4 and later, and it is available only on devices that contain a cellular radio.

Thanks
 
Top