Webview blank but content is there <p>I am having trouble displaying a webview. I have a webview inside a custom view. I load this custom view as a subview of the window, and then have an object controller linking a text field to the content of the web view. Once a page is loaded, it loads all the content, but it is visually white. You can click on links. If you go to a Youtube video you can listen to it, but it still displays nothing. To load the custom view I run:</p> <pre><code>PageViewController *page = [[PageViewController alloc] initWithNibName:@"PageView" bundle:nil]; [page loadView]; [view addSubview:[page view]]; </code></pre> <p>Then to load the page I have the following:</p> <pre><code>-(IBAction)connectURL:(id)sender { NSLog(@"connecting"); [webView setMainFrameURL:[sender stringValue]]; } </code></pre> <p>Where connectURL is bound to a text field.</p>