Launching a web browser
Launching a web browser
- Subject: Launching a web browser
- From: Caveman Caveman <email@hidden>
- Date: Sat, 24 Nov 2001 03:15:17 -0800 (PST)
I'm fairly new to Cocoa and I have a simple question.
How do I launch an URL in whatever web browser the
user has chosen as their default in System
Preferences? I tried using NSURL's initWithString:
and NSURLHandle's loadInForeground: but I can't get
anything working. I believe my URL is well-formed,
but the call to NSURL initWithString: returns nil.
Can anybody give me an example of what I need to do to
launch <
http://www.apple.com> in a browser? Thanks!!
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1