title: How to access image resource in asset catalog from UIWebView (or WKWebView)
body: <p>We have a local html to show in <code>UIWebView</code>. And there, we want to show images that are defined in Asset Catalog.</p>
  
  <p>I know that we can do similar thing if we had the image flat in the main bundle. The code snippet would be like this. </p>
  
  <pre><code>webView.loadHTMLString("&lt;img src='target_image.png'/&gt;", baseURL: NSBundle.mainBundle().bundleURL)
  </code></pre>
  
  <p>However, I am not sure what I can specify for "target_image.png" if the png file is packaged in asset catalog. (Furthermore, we want to specify pdf to take advantage of vector image support in Xcode 6)</p>
  
  <p>Does anybody have any idea how to achieve this?</p>