【问题标题】:launch ios map app by clicking on MapView通过单击 MapView 启动 ios 地图应用程序
【发布时间】:2015-08-12 20:18:45
【问题描述】:

我是 iOS 新手。在我的 iOS 应用程序中,我正在使用 MapView 显示地图。 我也在我的地图上显示地标。 我知道如何使用 MKMapItem 从我的应用程序启动本机应用程序 但是有没有办法通过点击/触摸地图来启动 iOs 地图应用程序?

【问题讨论】:

    标签: ios swing mkmapview


    【解决方案1】:

    向 MKMapView 添加轻击手势识别器,并根据纬度/经度启动原生地图应用。

    参考:

    Getting current location of map on touch in iphone mkmapview

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2013-08-29
      • 1970-01-01
      • 2012-12-27
      • 1970-01-01
      • 1970-01-01
      • 2012-02-16
      • 1970-01-01
      相关资源
      最近更新 更多