• 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: Receiving actions from WebViews
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Receiving actions from WebViews


  • Subject: Re: Receiving actions from WebViews
  • From: George Orthwein <email@hidden>
  • Date: Fri, 18 Aug 2006 10:45:25 -0400

If you just want to intercept link clicks, then I think all you need is decidePolicyForNavigationAction.

http://developer.apple.com/documentation/Cocoa/Conceptual/ DisplayWebContent/Tasks/PolicyDecisions.html

Just make up a protocol (foo:) so you can easily check for the prefix. If found, return ignore and deal with your action.

George

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Receiving actions from WebViews (From: "Eric Czarny" <email@hidden>)

  • Prev by Date: Re: copy versus arrayWithArray:
  • Next by Date: Re: copy versus arrayWithArray:
  • Previous by thread: Receiving actions from WebViews
  • Next by thread: Re: Receiving actions from WebViews
  • Index(es):
    • Date
    • Thread