I would like to use temp.jpg
\" />
in my UIWebView\'s HTML.
How can I refer to a local file named
I was searching a lot for a solution and found the following which
in my case working fine, I have a local HTML string and a local image
I convert the image into base 64
you may use this website to convert image to base64 encoding
Converter
and rewrite the HTML string to have the base64 image in the image tag like the following
for Testing the result tye the following Online HTML editor
W3School
hope it will help for others or maybe get a better solution, best of luck