- (void)webViewDidFinishLoad:(UIWebView *)webView {
// 禁止用户复制粘贴
[self.webView stringByEvaluatingJavaScriptFromString:@”document.documentElement.style.webkitUserSelect=’none’;”];
// 禁止用户拨打电话
[self.webView stringByEvaluatingJavaScriptFromString:@”document.documentElement.style.webkitTouchCallout=’none’;”];
}
网友评论