how to get the distance between two locations in miles in objective c?

Ayesha Fatima picture Ayesha Fatima · Oct 16, 2011 · Viewed 14.4k times · Source

how to calculate distance between two location in miles using distanceFromLocation method of mapkit framework.

Thanks

Answer

Daniel Pereira picture Daniel Pereira · Oct 16, 2011

This has already been answered in metric here. Now you just need to convert meters to miles which is:

1 Meter = 0.000621371192 Miles 

or

1 Mile = 1609.344 Meters