2017-03-17 58 views
1

我使用下面的Apple cllocation经理地区监测方法:位置管理区域监控

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

的问题是,当应用程序处于暂停状态,而不是running.Any帮助将不胜感激这些方法不会被调用。感谢

+0

你检查'backgroundRefreshStatus'为您的应用程序? – rmp

回答

0

尝试使用显著位置的变化,而不是开始更新location.Also有半径监测的限制,最小半径应为100μm

+0

哦,你已经解决了我的问题,我一个月以来一直在b my我的头。感谢它的工作,现在我忘了检查半径。 –