开发者

touch urls in webview and hold 2,3 seconds to prompt a window

开发者 https://www.devze.com 2023-03-08 08:16 出处:网络
I noticed that the开发者_如何学编程re are some apps which have the webview, when I touch urls in webview and hold 2,3 seconds, it will prompt a window.

I noticed that the开发者_如何学编程re are some apps which have the webview, when I touch urls in webview and hold 2,3 seconds, it will prompt a window. But if I only touch the url but do not hold it, webview will go to the url.

I wonder how I do this.

Welcome any comment


Isn't this the default behavior of a web view when you enable links? You can make links clickable by setting the appropriate dataDetectorTypes.

0

精彩评论

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