有人知道共享区域的最大数量是多少吗?如果超过它,您会收到 RegionMonitoringDidFail 电话吗?
http://developer.apple.com/iphone/library/documentation/CoreLocation/Reference/CLLocationManager_Class/CLLocationManager/CLLocationManager.html#//apple_ref/occ/instp/CLLocationManager/monitoredRegions http://developer.apple.com/iphone/library/documentation/CoreLocation/Reference/CLLocationManager_Class/CLLocationManager/CLLocationManager.html#//apple_ref/occ/instp/CLLocationManager/monitoredRegions
我无法让它接受超过 10 个区域。没有错误消息,只是 protectedRegions 在 10 点之后没有获取任何成员。
编辑:如果我添加很多(大约 60 个)区域,有时它会崩溃。没有错误消息。这会产生错误的访问
[locationManager startMonitoringForRegion:clr desiredAccuracy:500.0];
编辑:在 5 个地区我得到了相当可靠的结果
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)