So I have a UIView which has a UIWebView and I want so that it fades in to a white background from any kind of web site that I have opened. How do I do this? I guess having:
[webView_ loadRequest:[NSURLRequest requestWithURL:[NSURL URLWithString:@"about:blank"]]];
in my animation block doesn’t help. Any idea?
I’m not a web developer, so I can’t speak to how you might go about this using JavaScript, CSS, HTML, or anything else related.
I am an iOS developer, and I like the clevery stuff. You could add a transparent UIView on top of your webview, and animate a transition to opaque white, like so:
I think this will work, though I haven’t tried it.