【发布时间】:2011-01-23 18:24:15
【问题描述】:
我想知道 CLLocationManager 的 distanceFilter 是如何工作的。根据文档,
The minimum distance (measured in meters) a device must move laterally before an update event is generated.
那么电话是否已经收集到位置,但 distanceFilter 只是阻止我的回电得到通知?
我看不出使用 distanceFilter 是如何节省电池寿命的,它看起来像是 Catch-22。
【问题讨论】:
-
也许它会根据您当前的速度降低其轮询率?
标签: iphone objective-c iphone-sdk-3.0 geolocation cllocationmanager