![](/img/trans.png)
[英]Show direction inside a mapview in a app without opening iPhone map app
[英]Not show in map in MapView at iPhone Device
在UIViewController中,已附加MKMapView。
如果使用網絡銷售商之一(韓國的SKTelecome),則看不到地圖。(僅顯示網格)我嘗試了縮放更改,移動到地圖中的其他位置,但是這種情況經常發生。
有人知道解決方案嗎?
Error downloading tiles Server Error: Error Domain=GEOErrorDomain Code=-204 "The operation couldn’t be completed. (GEOErrorDomain error -204.)" UserInfo=0x27a02f00 {UnderlyingErrors=(
"Error Domain=NSURLErrorDomain Code=-1004 \"Could not connect to the server.\" UserInfo=0x27a02fc0 {NSErrorFailingURLStringKey=http://localhost/2/tiles?sid=200858392884450040417818215884823473791&tk=52e0ab4bf70155655f3bc363c1f75553&mapkey=1378442549_2311f6b13b1ea64c10887d8b187da020, NSErrorFailingURLKey=http://localhost/2/tiles?sid=200858392884450040417818215884823473791&tk=52e0ab4bf70155655f3bc363c1f75553&mapkey=1378442549_2311f6b13b1ea64c10887d8b187da020, NSLocalizedDescription=Could not connect to the server., NSUnderlyingError=0x27a03f90 \"Could not connect to the server.\"}"
我不確定,但是您的錯誤似乎表明您正在嘗試訪問一些本地網絡URL( http://localhost/2/tiles
)。 特別是這部分
Error Domain=NSURLErrorDomain Code=-1004 \"Could not connect to the server.\" UserInfo=0x27a02fc0 {NSErrorFailingURLStringKey=http://localhost/2/tiles?sid=200858392884450040417818215884823473791&tk=52e0ab4bf70155655f3bc363c1f75553&mapkey=1378442549_2311f6b13b1ea64c10887d8b187da020
如果涉及任何Web服務來獲取地圖圖塊或任何其他信息,請確保服務器具有可從移動數據網絡訪問的公共IP。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.