I have a UIWebView in my app that shows some html-formatted text (loaded from a .plist file from my bundle). The UIWebView takes about 1 second to render the text on the screen and during that second the whole UIWebView is white. I have tried setting the backgronud color of the view to clear or black but that did not do anything. I also tried using the delegate methods to show the UIWebView only when it didLoadContent but that method is never called since there us no request involved, I'm only rendering an html string there.
Is there a way to show nothing until the view is rendered?
If not, is there another way to render html-text on an iPhone?
Thank you.
Off the top of my mind: Set the UIWebView's
hiddenproperty to YES, display something call a selector to change the hidden property to NO in 2-3 seconds.BTW do you mean you're loading a local HTML file? Or is the delay created by downloading the file?
~ Natanavra.