views:

55

answers:

1

hi all,

can CLLocationManager class be used to compute the distsnce travelled by the person?

+1  A: 

No, but CLLocation objects can. If you have two locations, then you can easily use the -[CLLocation distanceFromLocation:] method to get the distance between them. Note, however, that this distance will be from along a great circle ("as the crow flies"), and not along any roads in the area.

Dave DeLong