开发者

changing the options displayed in uiwebview for link

Is that possible to display options in uiwebview links. When you touch and hold a 3 options come up, (open, copy and cancel). Is there a way to add a option say "open in safari browser"开发者_如何学Python, so that the user can open it either in safari or in the app's embedded browser ?


You could use the webView:shouldStartLoadWithRequest:navigationType: callback of webview delegate to add your custom behaviour.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜