I need to find my current location using the GPS without internet and show on Google Maps.
On iPhone
All ok and show the location.
On iPad
I use the CLLocationManager as delegate. Yet it returns me the following error on method didFailWithError:(NSError *)error:
Error Domain=kCLErrorDomain Code=0 "The operation couldn’t be completed. (kCLErrorDomain error 0.)"
Creation CLLocationManager code:
locationManager = [[CLLocationManager alloc]init];
locationManager.delegate = self;
locationManager.distanceFilter = kCLDistanceFilterNone;
locationManager.desiredAccuracy = kCLLocationAccuracyBest;
[locationManager startUpdatingLocation];
PS: I need to find the current location without any internet connection. iPad show indicator localization on status bar. (With internet connection all ok and show location). The iPad is 4th generation with iOS 7.1.