Image reference in WebView
How do I reference an image that is in my resources directory. Before when I was in the webview I could just say <img src='./images/myimage.png'> and it would appear on the page. This does not seem to work now. Thanks.
2 Answers
-
Accepted Answer
For iPhone at least…
<img src='app://images/myimage.png'>
The folder name images can't be left out. If the png is at the root then use Resources
-
That worked! Thank you very much Eldon.