• 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: to launch safari with an URL
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: to launch safari with an URL


  • Subject: Re: to launch safari with an URL
  • From: Peter Burtis <email@hidden>
  • Date: Sun, 25 May 2008 01:00:15 -0400

NSURL *url = [NSURL URLWithString:@"http://www.google.com";];
[[NSWorkspace sharedWorkspace] openURL:url];

-Pete

On May 25, 2008, at 12:55 AM, Nick Rogers wrote:
Hi,
How can I launch the default browser supplying it a URL with the click of a button?


Please help.

WIshes,
Nick

_______________________________________________

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:
@glossysheep.com


This email sent to email@hidden
_______________________________________________

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


References: 
 >to launch safari with an URL (From: Nick Rogers <email@hidden>)

  • Prev by Date: to launch safari with an URL
  • Next by Date: Scope in an interface?
  • Previous by thread: to launch safari with an URL
  • Next by thread: Scope in an interface?
  • Index(es):
    • Date
    • Thread