• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Problems displaying an image in UIWebView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problems displaying an image in UIWebView


  • Subject: Problems displaying an image in UIWebView
  • From: "M.S. Hrishikesh" <email@hidden>
  • Date: Thu, 16 Jul 2009 20:57:08 +0530

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 (email@hidden)

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:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Problems displaying an image in UIWebView
      • From: Mike Abdullah <email@hidden>
    • Re: Problems displaying an image in UIWebView
      • From: "M.S. Hrishikesh" <email@hidden>
  • Prev by Date: Re: [iPhone] Encrypting data of an iPhone Application / Converting J2ME App functionality
  • Next by Date: Re: Printing a View [solved]
  • Previous by thread: Re: splitView not rendering correctly - where am I wrong ?
  • Next by thread: Re: Problems displaying an image in UIWebView
  • Index(es):
    • Date
    • Thread