I am trying to display local image onto the UIWebView
. This web view is generated with HTML code locally. I am using the following code:
[htmlPage appendStringWithFormat:@"< img src=\"%@\" alt=\"image\" height=\"100\"
width=\"100\"/>",[[NSBundle mainBundle] pathForResource:@"myImage" ofType:@"png"];