Could not determine current country code: Error Domain=GEOErrorDomain Code=-2 "The operation couldn’t be completed. (GEOErrorDomain error -2.)"

StackOverflow https://stackoverflow.com/questions/23653279

  •  22-07-2023
  •  | 
  •  

문제

I am getting this error code when using 'MKMapView' on the iPhone 4:

Could not determine current country code: Error Domain=GEOErrorDomain Code=-2 "The operation couldn’t be completed. (GEOErrorDomain error -2.)"

The map loads fine with coordinates etc, but this gets logged.

Any ideas what is causing it?

도움이 되었습니까?

해결책

I got this today on my iPad4-Wifi. Reading more of the message, it stated that it had o internet connection. Sure enough, the iPad lost connection to the wifi for some reason.

I reselected our wifi network, retried the test and it worked.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top