How To Clear A UIWebView

Tom Cuzz picture Tom Cuzz · Jul 4, 2011 · Viewed 36.1k times · Source

I am very new to the whole programming business, and was wondering if there is any way to clear the contents of a UIWebView in iphone programming, so that the loading symbol for the next view is not showing up in front of the last view. Many Thanks, Thomas

Answer

Constantino Tsarouhas picture Constantino Tsarouhas · Jul 4, 2011

Try setting the URL to about:blank and reload the page.