我正在使用以下 apple clocation manager 区域监控方法:
- (void)locationManager:(CLLocationManager *)manager didEnterRegion:(CLCircularRegion *)region
{
}
- (void)locationManager:(CLLocationManager *)manager didExitRegion:(CLCircularRegion *)region
{
}
问题是当应用程序处于挂起状态且未运行时,这些方法不会被调用。任何帮助将不胜感激。谢谢
最佳答案
尝试使用显着的位置变化而不是开始更新位置。监控的半径也有限制,最小半径应为 100 米
关于ios - 位置管理器区域监控,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/42859204/