使用 iBeacon 和 CoreLocation 我收到以下错误:
错误域=kCLErrorDomain 代码=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); }