title: How to clear back forward list in UIWebview on iPhone?
body: <p>I want to access/clear the back forward list as if the <code>UIWebView</code> is new again. Is there any public API or workaround to do this?</p>
  
  <p>I've tried:</p>
  
  <pre><code>while ([webview canGoback]) {
      [webview goBack];
  }
  </code></pre>
  
  <p>but that will freeze the device (simulator too).</p>