Ilya  Lapan Ilya Lapan - 5 months ago 45
Objective-C Question

How to measure the distance in meters between two CLLocations?

How can I get the distance in meters between two

CLLocation
s?
CLLocation
doesn't provide any method to do it, it seeems.

Answer
CLLocationDistance distance = [aCLLocationA distanceFromLocation:aCLLocationB];
// distance is a double representing the distance in meters