After my splash screen loads there is white background for a few seconds until the html loads. How can I keep displaying the splash screen till the webivew loads.
You can add an UIIMageView with the splash screen image over the UIWebView Of course the view controller showing both views must be the UIWebView delegate and when it receives
– webViewDidFinishLoad:
or
– webView:didFailLoadWithError:
in case of error of course you should remove the image view
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With