Question

I have a Cocoa app that embeds a WebView. The WebView loads html elements including images. I have the textual links for the images (e.g. "http://www.domain.com/path/image.jpg"), but what I want is the image data itself so I can put it in an NSData object and ship it off to Growl. The WebView must have this data since it has downloaded and rendered the image. How can I get at it?

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top