getting the distance between two location on iphone

Posted by Gani on Stack Overflow See other posts from Stack Overflow or by Gani
Published on 2009-07-16T05:45:40Z Indexed on 2010/03/08 8:06 UTC
Read the original article Hit count: 198

Filed under:

i am trying to calculate the distance between the statringpoint which hold the initial value of location and the newlocation using the following code but i am getting null in distance. can anyone help me out with this

CLLocationDistance distance = [newLocation getDistanceFrom:startingPoint];

© Stack Overflow or respective owner

Related posts about iphone