jjzjj

startMonitoringForSignificantLoca

全部标签

iphone - CLLocationManager 地理围栏/startMonitoringForRegion : vs. startMonitoringForSignificantLocationChanges : vs. 10 分钟开始更新调用

我正在尝试设置一个应用程序,该应用程序能够在后台检查人们的位置,查看他们是否在给定位置,如果在,则向服务器发送ping。我们不想耗尽用户的精力,因此我们正在尝试找出最佳解决方案。我已经进行了大量阅读,但没有找到太多关于这些方法的信息。我将按照我现在的理解来分析利弊startMonitoringForSignificantChanges描述:基于wi-fi和手机信号塔的变化系统唤醒应用程序。Docs:Appscanexpectanotificationassoonasthedevicemoves500metersormorefromitspreviousnotification.Itsh

iphone - CLLocationManager 地理围栏/startMonitoringForRegion : vs. startMonitoringForSignificantLocationChanges : vs. 10 分钟开始更新调用

我正在尝试设置一个应用程序,该应用程序能够在后台检查人们的位置,查看他们是否在给定位置,如果在,则向服务器发送ping。我们不想耗尽用户的精力,因此我们正在尝试找出最佳解决方案。我已经进行了大量阅读,但没有找到太多关于这些方法的信息。我将按照我现在的理解来分析利弊startMonitoringForSignificantChanges描述:基于wi-fi和手机信号塔的变化系统唤醒应用程序。Docs:Appscanexpectanotificationassoonasthedevicemoves500metersormorefromitspreviousnotification.Itsh