«cllocation» etiketlenmiş sorular

19
didFailWithError: Hata Etki Alanı = kCLErrorDomain Kodu = 0 “İşlem tamamlanamadı. (kCLErrorDomain hatası 0.) ”
Geçerli konumu almak istiyorum, ancak bunun yerine bir hata alıyorum. Bu, görünüm denetleyicimin bir parçası. - (void)viewDidLoad { self.locationManager = [[CLLocationManager alloc] init]; [locationManager setDelegate:self]; [locationManager setDesiredAccuracy:kCLLocationAccuracyNearestTenMeters]; [locationManager startUpdatingLocation]; } - (void)locationManager:(CLLocationManager *)manager didUpdateLocations:(NSArray<CLLocation *> *)locations { // I would get the latest location here // but this method never …
Sitemizi kullandığınızda şunları okuyup anladığınızı kabul etmiş olursunuz: Çerez Politikası ve Gizlilik Politikası.
Licensed under cc by-sa 3.0 with attribution required.