On Aug 1, 2011 5:07 PM, "Mike Abdullah" <
email@hidden> wrote:
>
> On 1 Aug 2011, at 12:23, Andrew Davis wrote:
>
>> If you meant NSURLConnection, I can do so. But I am trying it this way. I m trying to get as much data from the js. Thanks for giving me the other options. But, I m so focussed in getting it this way.
>>
>
> Well seeing as you ask for the "image data", I'm trying to narrow down what you'd ideally like. An NSImage, or a lump of NSData? Perhaps something else? If you do get the -image API to work, and want raw data, you'll have to convert to JPEG/PNG yourself which probably isn't ideal.
>
> Also, NSURLConnection somewhat of a last resort. You should be able to consult the web view's resources first, as well as the URL cache.
>