根据苹果文档,我使用 iOS4 后的方法 startMonitoringSignificantLocationChanges 方法:
For applications that do not need a regular stream of location events, consider using the startMonitoringSignificantLocationChanges method to start the delivery of events instead. This method is more appropriate for the majority of applications that just need an initial user location fix and need updates only when the user moves a significant distance. This interface delivers new events only when it detects changes to the device’s associated cell towers, resulting in less frequent updates and significantly lower power usage.
所以这个接口只有在检测到位置变化时才会传递新的事件,我到底可以用什么方法来检测位置已经发生了显着变化,到目前为止,我是这样的:
if ([CLLocationManager significantLocationChangeMonitoringAvailable]) {
[locationManager startMonitoringSignificantLocationChanges];
}
我应该使用什么显式方法来显式检测位置已发生重大变化。谢谢。