Instance Property

horizontalAccuracy

The radius of uncertainty for the location, measured in meters.

Declaration

var horizontalAccuracy: CLLocationAccuracy { get }

Discussion

The location’s latitude and longitude identify the center of the circle, and this value indicates the radius of that circle. A negative value indicates that the latitude and longitude are invalid.

Special Considerations

In iOS, this property is declared as nonatomic. In macOS, it is declared as atomic.

See Also

Getting the Location Attributes

var coordinate: CLLocationCoordinate2D

The geographical coordinate information.

var altitude: CLLocationDistance

The altitude, measured in meters.

var floor: CLFloor?

The logical floor of the building in which the user is located.

var verticalAccuracy: CLLocationAccuracy

The accuracy of the altitude value, measured in meters.

var timestamp: Date

The time at which this location was determined.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software