如何根据时间间隔更新CLLocationManager中的位置

时间:2010-06-10 11:22:48

标签: iphone cllocationmanager

我必须根据特定的时间间隔更新CLLocationManager Delegate中的newLocation

1 个答案:

答案 0 :(得分:0)

位置管理器根据移动的距离进行更新,而不是基于时间间隔。如果位置没有改变,每隔x秒花费CPU时间是没有意义的。