Quote:
Originally Posted by xspecial
Hi to all,
i'm making an application within is required a very small time between the location updates!
I tried to use CLLocationManager. It works fine but the time between 2 updates is about 1s.
Does anyone know another method to get updates more frequently?
(In particular i'm interested to the speed!)
Very thanks.
Daniele
|
Daniele,
I don't think you can get updates more often than about once a second. I don't know if we have access to the lower-level hardware API that would let you get readings on a different interval - I've never seen it.
A word of caution - the GPS on iOS devices is pretty disappointing. It yields rather crude readings, with a lot of error and uncertainty. If you're thinking of writing an app that tracks the phone's movements centimeter by centimeter, I think you're out of luck. Think in terms of 10 meter accuracy at the best, and usually not that good. The location data also seems to lag behind your movements by many tens of seconds. If you zoom in close enough to see what side of a street you are on, and walk from one side of the street to the other, or from one house to the next, it might take 30 seconds to show your change of location.