【问题标题】:How to use Google Map API to draw route between 2 locations in iOS 6?如何使用 Google Map API 在 iOS 6 中的 2 个位置之间绘制路线?
【发布时间】:2013-05-24 06:46:51
【问题描述】:

以前我使用iOS 5 在两个位置之间绘制路线,并在使用Google Maps API 导航时不断更新当前位置,它工作正常,但现在我升级到iOS 6 后,没有任何工作我无法也查看地图,下面是我尝试加载地图时收到的错误,

-[__NSArrayM objectForKey:]: unrecognized selector sent to instance 0x16665e40
2013-05-24 12:07:26.522 DriverApp[988:c07]  WebKit discarded an uncaught exception in the     webView:runJavaScriptAlertPanelWithMessage:initiatedByFrame: delegate: <NSInvalidArgumentException> -    [__NSArrayM objectForKey:]: unrecognized selector sent to instance 0x16665e40

谁能帮帮我?我正在赶上最后期限,我真的很困惑如何继续前进。

【问题讨论】:

  • 你能分享一些代码吗!

标签: iphone ios google-maps mapkit ios6-maps


【解决方案1】:

尝试为 ios 5 使用LocalizedCurrentLocation 类来自此链接localized-current-location-string-for-iphone-apps

还可以从此链接查看更多详细信息答案how-to-draw-routes-on-maps-in-ios-6

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-01-21
    • 1970-01-01
    • 2015-12-17
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多