filterBlacklist = ( ); filterWhitelist = ( ); restrictWeb = 1; useContentFilter = 0; useContentFilterOverrides = 0; whitelistEnabled = 0; code example
Example: filterBlacklist = ( ); filterWhitelist = ( ); restrictWeb = 1; useContentFilter = 0; useContentFilterOverrides = 0; whitelistEnabled = 0;
- (UIWebView *)webView {
return (UIWebView *) self.view;
}
- (void)loadView {
self.view = [[UIWebView alloc] initWithFrame:CGRectZero];
self.webView.delegate = self;
self.webView.allowsInlineMediaPlayback = YES;
NSString *htmlString = @"<h1>Hello Cruel World!</h1>";
[self.webView loadHTMLString:htmlString baseURL:nil];
}