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
  •  | 
  •  

Pergunta

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?

Foi útil?

Solução

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.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top