开发者

touch urls in webview and hold 2,3 seconds to 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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜