iPhone上可以监视的最大区域数量是多少? [英] What's the maximum number of regions that can be monitored on iPhone?

查看:78
本文介绍了iPhone上可以监视的最大区域数量是多少?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人知道共享区域的最大数量是多少?如果超出了范围,您会收到regionMonitoringDidFail调用吗?

Any one know what's the maximum number of shared regions is? Do you get regionMonitoringDidFail call if you exceed it?

http://developer.apple.com/iphone/library/documentation/CoreLocation/Reference/CLLocationManager_Class/CLLocationManager /CLLocationManager.html#//apple_ref/occ/instp/CLLocationManager/monitoredRegions

推荐答案

我找不到它接受超过10个地区。没有错误消息,只是monitoredRegions在10点之后没有任何成员。

I can't get it to accept more than 10 regions. No error message just monitoredRegions does not get any members after 10.

编辑:如果我添加很多(大约60个)区域,有时会崩溃。没有错误讯息。

edit: if I add a lot (around 60) of regions sometimes it crashes. No error message. This produces a bad access

[locationManager startMonitoringForRegion:clr desiredAccuracy:500.0];

编辑:在5个地区,我得到了相当可靠的结果

edit: at 5 regions I am getting pretty reliable results

这篇关于iPhone上可以监视的最大区域数量是多少?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆