NSString *javaScriptCodeSelected = @"document.documentElement.style.webkitUserSelect='none';";
NSString *javaScriptTouchCodeCallOut = @"document.documentElement.style.webkitTouchCallout='none';";
1. WKWebview注入:
[webView evaluateJavaScript:javaScriptCode completionHandler:completionHandler];
2. UIWebVIEW注入:
[webView stringByEvaluatingJavaScriptFromString:javaScriptCode];
关于这个脚本的说明可参考http://www.css88.com/book/css/webkit/behavior/touch-callout.htm