• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: selected image in webview
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: selected image in webview


  • Subject: Re: selected image in webview
  • From: Jens Alfke <email@hidden>
  • Date: Tue, 05 Jul 2011 09:07:55 -0700

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 (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

  • Follow-Ups:
    • Re: selected image in webview
      • From: Amy Heavey <email@hidden>
References: 
 >selected image in webview (From: Amy Heavey <email@hidden>)

  • Prev by Date: Re: finder eject images
  • Next by Date: Re: selected image in webview
  • Previous by thread: selected image in webview
  • Next by thread: Re: selected image in webview
  • Index(es):
    • Date
    • Thread