gpt4 book ai didi

ios - 如何在 GMSPanoramaView 上获取触摸事件/点击事件

转载 作者:行者123 更新时间:2023-11-29 00:56:24 26 4
gpt4 key购买 nike

我的 View 中有一个 GMSPanoramaView,单击 GMSPanoramaView 我想执行一些操作。

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

最佳答案

您可以使用 GMSPanoramaView 委托(delegate):

  • (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

关于ios - 如何在 GMSPanoramaView 上获取触摸事件/点击事件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/37590532/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com