How to invoke safari using UIWebView class?

Discussion in 'iOS Programming' started by shweta13, Aug 11, 2008.

  1. shweta13 macrumors member

    Aug 7, 2008
    Hi all,

    Can anyone tell me how to invoke browser (Safari) using methods of UIWebView class?

    Thanks in advance.
  2. shweta13 thread starter macrumors member

    Aug 7, 2008
    Ok, I got it!...
    But how exactly is this different from directly using OpenURL method?
    I mean what difference does it make if we directly use "OpenURL method" to invoke safari instead of goin thru UIWebView class?
  3. kainjow Moderator emeritus


    Jun 15, 2000
    That is for opening links in Safari from an internal web view in your app, instead of them opening in your web view. If you need to just launch a URL outside of a web view, use the openURL method.

Share This Page