Summary
In this chapter, you have learned several techniques to obtain and respond to a user's location. You have implemented a LocationHelper
class that provided a simple interface for view controllers to use the location manager that is contained in the helper. You learned about the best practices in the area of asking the user for access to their location data, and you have learned that asking for a user's location is a pretty privacy-sensitive question that shouldn't be asked without a good reason.
You learned that there are different ways, each with different levels of detail, that you can use to track a user's location. You saw that you can subscribe to continuous changes, which has a bad impact on battery life. You also learned about subscribing to visits and significant location changes. In addition to learning about tracking a user's location, you also learned about monitoring whether a user has entered or exited a certain area by implementing geofencing...