Even if you don’t like the built-in speed, just scroll your own.
Speed is distance over time, right?
If you have two CLLocations, you can do:
CLLocationDistance distance = [aLocation distanceFromLocation:bLocation];
distanceis now a float of the distance between the two points, in meters. And those two CLLocationsalso have properties timestamp, right? Contains NSDate objects. Well...
NSTimeInterval timediff = [aDate timeIntervalSinceDate:bDate];
timediff - difference in seconds.
Thus, your average speed between these points in meters per second distanceexceeds timediff. Now you can calculate the instantaneous speed as accurately as the frequency with which you receive location updates.
, , , speed CLLocation, . , , .
, . 1609,344 . 3600 .
: , GPS, , . GPS, , , -, , , .