title: UIWebView is blank and it's not loading an image from Resources
body: <p>I'm using this code to display an image in an UIWebView:</p>
  
  <pre><code>-(void)showImageWithLoadRequest{
      NSString *path = [[NSBundle mainBundle] pathForResource:@"accent" ofType:@"png"];
      NSURL *imageUrl = [NSURL fileURLWithPath:path];
      NSURLRequest *imageRequest = [NSURLRequest requestWithURL:imageUrl];
      web.scalesPageToFit = YES;
      [web loadRequest:imageRequest];
  }
  </code></pre>
  
  <p>The problem is that when i open up the app in the simulator, it shows me a blank UIWebView, without any image. </p>
  
  <p>Any ideas to solve that?<br>
  I need to load images from my Resources. And in my Resources i have 2 images localizations. It may be the problem?</p>
  
  <p><strong>EDIT</strong></p>
  
  <p>As Seamus suggested, now i'm using:</p>
  
  <pre><code>NSString *path = [[NSBundle mainBundle] pathForResource:@"accent" ofType:@"png"];
  [myWebView loadHTMLString:[NSString stringWithFormat:@"&lt;html&gt;&lt;body&gt;&lt;img src=\"file://%@\"&gt;&lt;/body&gt;&lt;/html&gt;",path] baseURL:nil];
  </code></pre>
  
  <p>but it still shows me a blank WebView. Any ideas?</p>