How to back on launched application from safari browser in Ipad

Discussion in 'iOS Programming' started by maniaIphone, Apr 7, 2012.

  1. maniaIphone, Apr 7, 2012
    Last edited by a moderator: Apr 7, 2012

    maniaIphone macrumors newbie

    Joined:
    Apr 4, 2012
    #1
    How to come back to application from safari.

    Problem:-

    On button click ->
    "[[uiapplication sharedapplication] openurl:[nsurl urlwithstring:mad:"http://forums.macrumors.com"]];"

    Now how can i back on application from this safari browser...

    Help me out its urgent !!:)
    Thanks in advance
     
  2. PhoneyDeveloper macrumors 68030

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #2
    There's no automatic way for the user to come back to your app. It's up to them to do this by tapping your app in the springboard. Your app can continue to run in the background using the background task api if that's what you want.
     
  3. dejo Moderator

    dejo

    Staff Member

    Joined:
    Sep 2, 2004
    Location:
    The Centennial State
    #3
    Perhaps you should consider opening a UIWebView within your app, rather than transferring out of it to Safari.
     

Share This Page