在用于region monitoring的CLCircularRegion类的 - initWithCenter:radius:identifier:方法中,允许identifier属性的最大长度是多少
当 - initWithCenter:radius:identifier:长度超过一定限制时,identifier返回nil。那么这个限制是什么呢?
发布于 2021-06-25 17:22:59
最大长度为512。
如果超过该值,我将在iOS 14中获取日志
[Client] {"msg":"identifier is too long"} 较长的ID也会触发运行时断点。
https://stackoverflow.com/questions/35498308
复制相似问题