PDA

View Full Version : How to program a button to open a URL in Safari in an Xcode Mac app?




rebello95
Nov 26, 2011, 05:37 PM
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!



gnasher729
Nov 27, 2011, 07:05 AM
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.