I want to provide my own action sheet or popover, don't want default system one.
Please notice that:
In order to provide your own action sheet or popover, first you need to disable the default contextual menu. You can do it with javascript by using the following code, inside webViewDidFinishLoad
[webView stringByEvaluatingJavaScriptFromString:@"document.body.style.webkitTouchCallout='none';"];
Once you disable the default behavior you can create your own custom action sheet/popover.
One possible approach is described in the following link:
Customize the contextual menu of UIWebView
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With