【发布时间】:2016-05-31 14:42:59
【问题描述】:
用于region monitoring 的CLCircularRegion 类的
- initWithCenter:radius:identifier: 方法中identifier 属性允许的最大长度是多少?
- initWithCenter:radius:identifier: 在identifier 长度超过某个限制时返回nil。那么这个限制是多少呢?
【问题讨论】:
-
解决起来似乎很简单——你为什么不试试呢?
-
我试过..直到 511 个字符返回对象,然后返回 nil。但是没有相关文档。
-
对,所以似乎限制是 511,但正如你所说,没有文档。对于通常为 8 个左右字符的标识符而言,这似乎相当多
标签: ios objective-c geofencing region-monitoring clcircularregion