-
- (void)webViewDidFinishLoad:(UIWebView *)webView {
// 禁止用户复制粘贴
[self.webView stringByEvaluatingJavaScriptFromString:@”document.documentElement.style.webkitUserSelect=’none’;”];
// 禁止用户拨打电话
[self.webView stringByEvaluatingJavaScriptFromString:@”document.documentElement.style.webkitTouchCallout=’none’;”];
}
- (void)webViewDidFinishLoad:(UIWebView *)webView {
转载于:https://www.cnblogs.com/someone617-blog/p/4396043.html