December 2018
Intermediate to advanced
416 pages
10h 30m
English
Now that we have prepared the info.plist file for location tracking, it is time to write the actual code that will track the location of the user. If we don't set the CLLocationManager to not pause location updates, location updates can be paused automatically by iOS when the location data is unlikely to change. In this app, we don't want that to happen because we want to save the location multiple times so that we can establish whether a user visits a particular location frequently. Let's set this up by going through the following steps: