• 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
Re: How to Display Images in a WebView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to Display Images in a WebView


  • Subject: Re: How to Display Images in a WebView
  • From: Keary Suska <email@hidden>
  • Date: Fri, 02 Dec 2011 08:00:04 -0700

On Dec 1, 2011, at 6:25 PM, Sandeep Mohan Bhandarkar wrote:

> Hi All,
>
> Can some one provide any pointers as to how we can display an Image in a WebView. and can this be done without the use of a HTML File.?


Have you tried to simply pass the WebView a file:// request URL to the image? If the image is in memory, you can use -loadData:MIMEType:textEncodingName:baseURL: on the WebView's main frame.

HTH,

Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"

_______________________________________________

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

References: 
 >How to Display Images in a WebView (From: Sandeep Mohan Bhandarkar <email@hidden>)

  • Prev by Date: Re: Making target/action of a view visible to IB
  • Next by Date: NSViewController KVO compliance
  • Previous by thread: Re: How to Display Images in a WebView
  • Next by thread: Re: Grabbing at 60hz
  • Index(es):
    • Date
    • Thread