开发者

changing the options displayed in uiwebview for link

开发者 https://www.devze.com 2023-01-06 18:09 出处:网络
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\"开发者_如何学

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

精彩评论

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