Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa WebView link to open in Safari (or default browser)



On 4/28/05, Hans Inge Hagen <email@hidden> wrote:

> #1.     I am trying to set the WebView (in a Cocoa  Xcode project) to open
> a link in Safari.
>         Or if the link indicates to open in a new window .. it will be routed
> to Safari.
>         Do anyone know if there are a way to do so? ...

You'd have to set a WebPolicyDelegate that implements the selectors
handling the specific instances you're interested in, I think. I
haven't done this myself, but I may be implementing it at some point,
and this is my best guess.

-- 
James Dessart
Blog: http://skwirl.net/
Software dev. services: http://skwirl.com/
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden

This email sent to email@hidden

References: 
 >Cocoa WebView link to open in Safari (or default browser) (From: Hans Inge Hagen <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.