Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 26, 2011, 06:37 PM   #1
rebello95
macrumors member
 
Join Date: Jun 2011
Location: USA
How to program a button to open a URL in Safari in an Xcode Mac app?

Hi. What programming would I need to make it so when someone clicks a button in a Mac App I'm making, it opens a webpage in safari?

Thanks!
rebello95 is offline   0 Reply With Quote
Old Nov 27, 2011, 08:05 AM   #2
gnasher729
macrumors G5
 
gnasher729's Avatar
 
Join Date: Nov 2005
Quote:
Originally Posted by rebello95 View Post
Hi. What programming would I need to make it so when someone clicks a button in a Mac App I'm making, it opens a webpage in safari?

Thanks!
Google for "Open webpage in safari", then pick the right result. Question was asked and answered in 2008.
gnasher729 is offline   0 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Tags
program openurl mac, xcode cocoa, xcode mac app

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
open profile in Facebook app from button prello23 iPhone/iPad Programming 4 Feb 14, 2014 07:38 AM
url from user xcode nigam Mac Programming 1 Feb 12, 2014 05:30 AM
Open Mac Tabs With Table View Xcode abcdefg12345 Mac Programming 1 Jul 11, 2013 11:37 AM
Sync open mails in mac - new program AbsolutJohan MacBook Pro 8 Apr 18, 2013 12:48 AM
Can't open URL in Notes app T-Mac iOS 6 7 Sep 27, 2012 02:46 PM

Forum Jump

All times are GMT -5. The time now is 01:33 PM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC