使用iBeacon和CoreLocation时,我收到以下错误:
错误域=kCLErrorDomain Code=16 "操作无法完成。(kCLErrorDomain错误16。)
除非我遗漏了什么,否则似乎在苹果上没有明确的参考可用于说明每个错误代码的含义。
有人能解释这个错误代码吗?
该错误来自:
- (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.h
。 - quellish