Alert icon
We're changing our privacy policy. This stuff matters.  Learn more  Dismiss

Xcode iPhone SDK Tutorial - Opening a URL in Safari

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
10,416
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Sep 2, 2009

This tutorial shows how to use the OpenURL Function to close the application and open up Safari

**************
iPhone SDK 3.0

Category:

Howto & Style

Tags:

License:

Standard YouTube License

Link to this comment:

Share to:
see all

All Comments (17)

Sign In or Sign Up now to post a comment!
  • simply and clearly. thanks

  • does this work with mac lol if not can u please help need help please please but for the ios lol sick videos thanks ( kind of i need it for mac please )

  • how would you go about making a button that just opens another application, and would this be easier done if you made it a mac app???

  • Nice, thanks

  • what if i wanted to add multiple buttons? do i add another openSafari; action?

  • Is it possible to make a link to the camera roll? when i press a button, i came to camera roll.

  • Hi. Fine Video helped me alot. How do you add to button and a new homepage to each?

  • Is there any way to do this in Window-Based Application? THanks

  • Nice tutorial. Thanks!

  • the button is in the view of a tab i made.

    when i click the button simulator crashes . any ideas ?

    console:

    2010-05-14 14:02:52.892 fatness[701:207] *** -[UIViewController openSafari]: unrecognized selector sent to instance 0x4315050

    2010-05-14 14:02:52.894 fatness[701:207] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '***

    -[UIViewController openSafari]: unrecognized selector sent to instance 0x4315050'

Loading...

Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more