title: Loading a local image directly into a UIWebView without HTML?
body: <p>I'm trying to load a local image file into a UIWebView. Is it necessary to create an HTML file and load the image into it or can I directly load the image in a web view?</p>
  
  <p>This is the code I'm using currently to load the image into the web view, but it shows up blank.</p>
  
  <pre><code>NSURL *url = [NSURL fileURLWithPath:localFilePath isDirectory:NO];
  NSURLRequest *request = [NSURLRequest requestWithURL:url];
  [self.webView loadRequest:request];
  </code></pre>