Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
With those guidelines in mind, let’s dig a little deeper into Core
Location, the iOS location framework. The primary class you’ll work with
when processing location is CLLocationManager, which allows you to specify
criteria for the kind of data you want and publishes events when the
location changes.
To specify the update frequency, CLLocationManager exposes the DistanceFilter property. This value of this
property represents the distance in meters that the user must travel
before a location update event is fired. Similarly, the DesiredAccuracy property allows you to declare
how accurate you want the location to be. iOS will use this value to
determine which sensors to use. There are several predefined values you
can set this to, found on the CLLocation class: