Try this instead:
CLLocationDistance meters = [newLocation distanceFromLocation:oldLocation];
The method you’re trying to use is a method on a CLLocation object 🙂
Try this instead:
CLLocationDistance meters = [newLocation distanceFromLocation:oldLocation];
The method you’re trying to use is a method on a CLLocation object 🙂