本文介绍了CLLocationManager kCLErrorDomain代码?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
使用iBeacon和CoreLocation,我收到以下错误:
Using iBeacon and CoreLocation I'm receiving the following error:
Error Domain = kCLErrorDomain代码= 16该操作无法完成。(kCLErrorDomain错误16 。)
Error Domain=kCLErrorDomain Code=16 "The operation couldn’t be completed. (kCLErrorDomain error 16.)
除非我想念它,否则每个错误代码的含义在Apple上似乎都没有明确的参考。
Unless I'm missing it, there doesn't seem to be a clear reference on Apple for what each of the error code means.
任何人都可以解释该错误代码吗?
Can anyone interpret this error code?
错误调用来自:
- (void)locationManager:(CLLocationManager *)manager rangingBeaconsDidFailForRegion: (CLBeaconRegion *)region withError:(NSError *)error{
NSLog(@"%@", error);
}
- (void)locationManager:(CLLocationManager *)manager monitoringDidFailForRegion:(CLRegion *)region withError:(NSError *)error{
NSLog(@"%@", error); }
推荐答案
查看文档表示 CLError
。值16是 kCLErrorRangingUnavailable
。
Look at the docs for CLError
. Value 16 is kCLErrorRangingUnavailable
.
文档说:
这篇关于CLLocationManager kCLErrorDomain代码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!