Register FAQ / Rules Forum Spy Search Today's Posts Mark Forums Read
Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Nov 26, 2011, 05: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, 07: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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
thread Thread Starter Forum Replies Last Post
An upcoming Science app from Punflay Zacherena iPad Apps 2 Nov 24, 2011 03:10 AM
Mac App store: does software work on multiple macs? mattwolfmatt Mac Applications and Mac App Store 7 Apr 8, 2011 08:23 AM
An upcoming kids app for the iPad from Punflay Zacherena iPad Apps 1 Mar 13, 2011 11:06 PM
Mac App Store fails to load completely - MBA 11" djp2 Mac Applications and Mac App Store 6 Jan 30, 2011 02:31 AM
iPhone - how to program a button to dismiss the current view RottenApple2 iPhone/iPad Programming 2 Jun 30, 2010 10:51 AM


All times are GMT -5. The time now is 12:15 AM.

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

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