iBeacon と CoreLocation を使用すると、次のエラーが表示されます。
エラー Domain=kCLErrorDomain Code=16 「操作を完了できませんでした。(kCLErrorDomain エラー 16.)
私が見落としていない限り、Apple には各エラー コードの意味についての明確な参照はないようです。
誰でもこのエラーコードを解釈できますか?
エラーは次から呼び出します。
- (void)locationManager:(CLLocationManager *)manager rangingBeaconsDidFailForRegion: (CLBeaconRegion *)region withError:(NSError *)error{
NSLog(@"%@", error);
}
- (void)locationManager:(CLLocationManager *)manager monitoringDidFailForRegion:(CLRegion *)region withError:(NSError *)error{
NSLog(@"%@", error); }