I have a UIWebView, and when I click on a text link (at least for a second), a UIActionSheet panel with three buttons appears (open, copied and canceled). Is there any way to prevent its occurrence?
thank
You can achieve this with CSS:
* { -webkit-touch-callout:none; }
Apparently not. In the documentation, neither UIWebView nor UIWebViewDelegate disclose any method or property to avoid this behavior.
- (void)webViewDidFinishLoad:(UIWebView *)webView { [webView stringByEvaluatingJavaScriptFromString:@"document.body.style.webkitTouchCallout='none'; document.body.style.KhtmlUserSelect='none'"]; }
Source: https://habr.com/ru/post/1727779/More articles:How to access the Windows Media Player Library programmatically in C # / WPF? - c #jQuery: Ajax call for asp.net webservice fails, 500 server return error - jquerySort Datagrid in C # - c #Ajax call always returns error 500 to client side - javascriptпараллельная сортировка пузырьков с помощью openmp - c++Magento Checkbox for products with the package requires qty - phpwrapping cmd.exe with subprocess - pythonWhat do I need to start development in .NET. - phpКак заставить сглаживание полигона работать? - polygonSorting a tuple of dictons - pythonAll Articles