title: Reusing UIWebView is causing crashes
body: <p>I've read that reusing UIWebViews is kind of a bad practice. Some code I inherited at work is pushing a variety of content to a UIWebView. Powerpoints, Word documents, and video. This all works just fine under normal circumstances. When we get to switching out the content in the UIWebView too fast, it dumps.</p>
  
  <p>My webView is set as a property. It is hooked up in IB just fine. Normal selection from our tableView loads local content just fine. It takes rapid fire selection of either the same cell or combinations of multiple to get it to crash. </p>
  
  <p>I can capture some error messages for it for the webViewDidFailWithError. But those will trigger even without a crash. 
  Here is the error localized string.</p>
  
  <pre><code>The operation couldn’t be completed. (NSURLErrorDomain error -999.)
  </code></pre>
  
  <p>When the app does finally crash, it blows up on this goofy WebCore error.</p>
  
  <p><img src="https://i.stack.imgur.com/rtoLA.png" alt="Application Crash image"></p>
  
  <p>If anyone has any links or some code examples how to handle this I would appreciate it. Maybe an example how to best reuse my webView property without blowing things up. </p>
  
  <p>I would load some of my code, but there is a lot going on not related to the webView itself. All content being pushed to the webView is done via <code>[self.webView loadRequest:request];</code> with the request being an NSURLRequest filled with the path to the local content.</p>
  
  <p>I will be very appreciative if anyone can help me out on this one. Fingers crossed for something simple.</p>