views:

363

answers:

1

Can you set up a constant time update rate for CLLocationManager to force it update locations like every 10 seconds continuously? I know the usage of the distance filter but what if something went wrong and the location is not updated? Thanks!

+1  A: 

It's not possible to control the update rate. You can set a timer, then turn off the updates until the timer ends. This is the usual thing to do to avoid using too much power.

If there's a problem, you will be informed by the delegate method locationManager:didFailWithError:

Here's a good post which shows how to filter bad CoreLocation readings:

http://troybrant.net/blog/2010/02/detecting-bad-corelocation-data/

nevan