开发者

touch urls on UIWebView, hook and change the prompted window itemscxh

If I touch urls on UIWebView and hold 2, 3 seconds, it will display an option window for url with items:

Open, Copy

Is it possible to change the items or add new option? Such as

Open, Copy, Dow开发者_如何学Pythonnload

Welcome any comment


Not using UIKit's built in UIWebView, no. The only way to do this would be to rewrite/subclass it, but that's going to be a massive pain.

Note: Open and download are basically the same thing in iOS.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜