【问题标题】:Location manager region monitoring位置管理器区域监控
【发布时间】:2017-08-09 02:39:08
【问题描述】:

我正在使用以下苹果 cllocation manager 区域监控方法:

- (void)locationManager:(CLLocationManager *)manager didEnterRegion:(CLCircularRegion *)region
{
}
- (void)locationManager:(CLLocationManager *)manager didExitRegion:(CLCircularRegion *)region
{
}

问题是当应用程序处于挂起状态且未运行时,这些方法不会被调用。任何帮助将不胜感激。谢谢

【问题讨论】:

  • 您是否为您的应用检查过backgroundRefreshStatus

标签: ios geolocation cllocationmanager geofencing


【解决方案1】:

尝试使用显着的位置更改而不是开始更新位置。此外,监控的半径也有限制,最小半径应为 100 米

【讨论】:

  • 哦,伙计,你已经解决了我的问题,一个月以来我一直在敲我的头。感谢它的工作,现在我忘记检查半径了。
猜你喜欢
  • 1970-01-01
  • 1970-01-01
  • 2012-06-11
  • 2012-03-22
  • 2013-07-04
  • 2015-03-20
  • 2012-11-10
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多