and for the distance from two places just use the bottom line to get the distance
CLLocationDistance distance = [yourCurrentLocation distanceFromLocation:yourDestinationLocation];
here yourCurrentLocation and yourDestinationLocation is a CLLocation and It variable Returns the distance (in meters) from the location of the receivers to the specified location.
I hope this helps you .. :)
source share