distanceFromLocation – Calculate distance between two points

Try this instead:

CLLocationDistance meters = [newLocation distanceFromLocation:oldLocation];

The method you’re trying to use is a method on a CLLocation object 🙂

Leave a Comment