title: iPhone - How to preload a local file in a UIWebView?
body: <p>Is it possible to preload content of a local file with embedded images for a UIWebView?</p>
  
  <p>This is how I'm loading the data inside the UIWebView: </p>
  
  <pre><code>NSString *urlString = [[NSBundle mainBundle] pathForResource:@"info" ofType:@"html"];
  NSString *htmlContent = [NSString stringWithContentsOfFile:urlString encoding:NSUTF8StringEncoding error:nil];
  [myWebView loadHTMLString:htmlContent baseURL:nil];
  </code></pre>
  
  <p>But the UIWebView still needs some time to display the content. Is there any way to put this content into the browser cache on app start?</p>