A method identified as deprecated has been superseded and may become unsupported in the future.
Returns the distance (in meters) from the receiver’s location to the specified location. (Deprecated in iOS 3.2. Use the distanceFromLocation:
method instead.)
- (CLLocationDistance)getDistanceFrom:(const CLLocation *)location
The other location.
The distance (in meters) between the two locations.
This method measures the distance between the two locations by tracing a line between them that follows the curvature of the Earth. The resulting arc is a smooth curve and does not take into account specific altitude changes between the two locations.
CLLocation.h
Last updated: 2010-05-11