Post some code. What does your HTML look like? Does it use a relative or absolute URL for the image? What format is your image? What are you passing in for baseURL?

On 16 Jul 2009, at 16:27, M.S. Hrishikesh wrote:

I am trying to show an image from my Resources directory on a UIWebView along with toms text.

I create the UIWebView using loadHTMLString:baseURL:.

The string I pass has all of my content in html - the <img> tag and text. The text gets displayed but the image is shown as a broken link (in the simulator). When I copy the HTML string, paste it to a file, and open that under Safari it works fine.

What could be going wrong in the simulator?

Hrishi
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/cocoadev%40mikeabdullah.net

This email sent to cocoa...@mikeabdullah.net

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to