【问题标题】:How to get touch event / tap event on GMSPanoramaView如何在 GMSPanoramaView 上获取触摸事件/点击事件
【发布时间】:2016-06-02 11:27:09
【问题描述】:

我的视图中有一个 GMSPanoramaView,点击 GMSPanoramaView 我想执行一些操作。

如何识别 GMSPanoramaView 上的任何触摸/点击事件。

【问题讨论】:

    标签: ios google-maps google-street-view


    【解决方案1】:

    您可以使用 GMSPanoramaView 委托:

    • (void)panoramaView:(GMSPanoramaView *)panoramaView didTap:(CGPoint)point;

    查看 GMSPanoramaView 文档:

    https://developers.google.com/maps/documentation/ios-sdk/reference/protocol_g_m_s_panorama_view_delegate-p.html#member-function-documentation

    【讨论】:

      猜你喜欢
      • 2023-03-27
      • 2012-12-13
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2011-07-10
      • 1970-01-01
      相关资源
      最近更新 更多