Return to Snippet

Revision: 42776
at March 10, 2011 09:56 by gfazioli


Initial Code
#pragma mark -
#pragma mark UIWebViewDelegate

- (void)webViewDidFinishLoad:(UIWebView *)webView {
	// Disable user selection
	[webView stringByEvaluatingJavaScriptFromString:@"document.documentElement.style.webkitUserSelect='none';"];
	// Disable callout
	[webView stringByEvaluatingJavaScriptFromString:@"document.documentElement.style.webkitTouchCallout='none';"];
}

Initial URL
http://www.undolog.com

Initial Description

                                

Initial Title
Remove callOut and userSelect from UIWebView

Initial Tags

                                

Initial Language
Objective C