On Jul 4, 2011, at 10:55 PM, Amy Heavey wrote:

> Is there a way to get the selected item in a webview?
> I've got a webview in my app, and I'd like to select an image and download it.

On Mac OS you can use the DOM APIs. On iOS I think you have to run JavaScript 
on the page — I don’t remember the exact method name, but there’s a method you 
pass a string containing JavaScript and it evaluates it.

—Jens_______________________________________________

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

Reply via email to