hi all,
can CLLocationManager class be used to compute the distsnce travelled by the person?
hi all,
can CLLocationManager class be used to compute the distsnce travelled by the person?
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.