开发者

Detect touch on UIWebView but ignore swipe or touch on interactive elements (link or onclick)

开发者 https://www.devze.com 2023-02-12 09:10 出处:网络
My app holds a full screen UIWebView. A touch on the UIWebView on should fade in/out a ToolBar. But this fade in/out should only happen when tapping on non interactive elements or items.

My app holds a full screen UIWebView. A touch on the UIWebView on should fade in/out a ToolBar. But this fade in/out should only happen when tapping on non interactive elements or items.

What would b开发者_如何学运维e the best way to achieve this?


See this question's answer: Does UIGestureRecognizer work on a UIWebView?

0

精彩评论

暂无评论...
验证码 换一张
取 消