Re: How to Display Images in a WebView

2011-12-02 Thread Keary Suska
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 (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


How to Display Images in a WebView

2011-12-01 Thread Sandeep Mohan Bhandarkar
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.?

Thanks and Regards,
Sandeep Mohan Bhandarkar.




___

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


Re: How to Display Images in a WebView

2011-12-01 Thread Eric E Dolecki
Why would you use webview only to display an image though?

Sent from my iPhone

On Dec 1, 2011, at 8:25 PM, Sandeep Mohan Bhandarkar bhandar...@apple.com 
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.?
 
 Thanks and Regards,
 Sandeep Mohan Bhandarkar.
 
 
 
 
 ___
 
 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/edolecki%40gmail.com
 
 This email sent to edole...@gmail.com
___

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