Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

Nnavick

macrumors regular
Original poster
Oct 13, 2010
100
0
Hi ,
How can I find the distance between my current location and a dropped pin?

Thank you !!
 

Nnavick

macrumors regular
Original poster
Oct 13, 2010
100
0
HAHA

I found at the core location a function that does it

CLLocationDistance distance = [newLocation distanceFromLocation:Newloc]/1000;
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.