I am seeing odd results when trying to reverse geocode a location if the network is not available:
- seen on iOS 5.0.1
Airplane mode ON
[geocoder reverseGeocodeLocation:whatever completionHandler:^(NSArray *placemarks, NSError *error) { if (error) { // Alert(@"No Internet connection")!; // I should get a kCLErrorNetwork, but I get a kCLErrorGeocodeFoundPartialResult // with a placemark array containing a CLPlacemark * // with only a latitude and longitude (the ones I entered)... } else { // ... }
This is not documented; at least I couldn't find it.
It is not a big issue per se, since I can't expect it to properly reverse geocode an address without network, but it prevents me from displaying an informative message to the user.