无法在iOS中获取位置(GEOErrorDomain代码= -204)

我试图显示一个地图,并使用MKMapView删除一个别针。 这是我的代码

 MKCoordinateRegion region = { {0.0, 0.0 }, { 0.0, 0.0 } }; region.center.latitude = 37.47 ; region.center.longitude = 122.26; region.span.longitudeDelta = 0.01f; region.span.latitudeDelta = 0.01f; [mapView setRegion:region animated:YES]; 

但是我得到下面的错误

 <GEOTileSource: 0x8e4c160>: Error downloading tiles Server Error: Error Domain=GEOErrorDomain Code=-204 "The operation couldn't be completed. (GEOErrorDomain error -204.)" UserInfo=0x88990f0 {UnderlyingErrors=( "Error Domain=GEOErrorDomain Code=-204 \"The operation couldn\U2019t be completed. (GEOErrorDomain error -204.)\" UserInfo=0x885b570 {IncompleteResponse=Asked for 2 tiles but only got 0 back}", "Error Domain=GEOErrorDomain Code=-204 \"The operation couldn\U2019t be completed. (GEOErrorDomain error -204.)\" UserInfo=0x8890a50 {IncompleteResponse=Asked for 6 tiles but only got 0 back}" )} 

我没有find什么参考什么GEOErrorDomain Code=-204是。 请帮我一下

我升级到XCode DP4,现在都好了。

这是testing版本的错误。 我偶尔会得到这个,因为他们是如何加载位置的瓷砖。 假设它在beta 4上运行正常,我不会太担心。 还有一些位置/地图问题仍在制定中,所以在testing阶段完成之后,我不会感到惊讶。

我有同样的问题,在我的情况下,它只发生在地图完成加载所有瓷砖之前closuresUIViewController。 解决的办法是在closures视图控制器时将mapView(MKMapView)委托设置为nil。

 mapView.delegate = nil;