Re: How to Display Images in a WebView
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