我尝试在iOS 7中测试地理围栏,但不适用于属性 .

这是我的代码:http://pastebin.com/rCg5xUyT

问题是当我向CLLocationManager添加CLCircularRegion(半径:100m)时,我在didEnterRegion时显示UIAlertView,但是UIAlertView在1950m显示,我不明白为什么 .

我在模拟器上进行测试,在我的iPhone 5上使用Debug> Location> Freeway drive I test,但是不能正常工作,UIAlertView显示距我当前位置的距离超过1950m .

有人可以帮帮我吗?谢谢 .