O'Reilly logo

The Complete Idiot's Guide® To iPad and iPhone App Development by Troy Brant

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CLLocation

CLLocation is the object that contains your user’s location data. The object provides the following useful properties:
coordinate: A CLLocationCoordinate2D struct that contains the latitude and longitude of the user’s location. To access the latitude and longitude, use the following syntax: location.coordinate.latitude and location. coordinate.longitude.
horizontalAccuracy: The radius of uncertainty around the location’s position, measured in meters. This is the transparent blue circle around the tracking dot you see in the Maps application when your position is being determined. A negative value indicates an invalid coordinate value.
DEFINITION
The radius of uncertainty is a measure of the accuracy of a location reading. For ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required