将触摸从 uiview 传输到 uiwebview

发布于 2024-10-02 05:20:35 字数 155 浏览 0 评论 0原文

的结构

这是我的 xib uiview
--uiview
--uiwebview

我已经进行了更改,以便 uiview 是透明的。如何将传递到 uiview 的touchesBegan的触摸事件发送到uiwebview的touchesBegan?

Here is the structure of my xib

uiview
--uiview
--uiwebview

I have made changes so that the uiview is transparent. What is the way to send the touch events which are delivered to touchesBegan of uiview to the touchesBegan of uiwebview ?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

烦人精 2024-10-09 05:20:36

请访问以下链接并阅读“触摸事件处理基础知识”下的部分,我希望您之后能够了解事件如何触发到其他/子视图。

http://developer.apple.com/library /ios/documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/MultitouchEvents/MultitouchEvents.html

Please go the following link and read the section under "Basics of Touch-Event Handling", i hope after you will get the idea how events trigged down to other/sub views.

http://developer.apple.com/library/ios/documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/MultitouchEvents/MultitouchEvents.html

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文