When Open From Background.

Discussion in 'iPhone/iPad Programming' started by Alexj17, Aug 19, 2010.

  1. macrumors newbie

    Joined:
    Aug 17, 2010
    Location:
    Liverpool
    #1
    Hey All

    I see the delegate has the 'didFinishLaunchingWithOptions' for when the first app first loads. I know each page has the DidLoad and WillAppear.

    Is there a method/function/class or whatever these things are called for when the app is opened while it is in the background. Either the user clicks it from the bottom row of icons (after double click) or simply just clicks the app icon when it is already open.

    I dont want to use the WillAppear because then it will happen on every page view and not just this reload from background.

    Thanks
    Alex
     
  2. macrumors 6502a

    Joined:
    Oct 24, 2008
    Location:
    Cambridge
    #2
    These are called delegate methods. Check out the UIApplicationDelegate Protocol; specifically, applicationWillEnterForeground: sounds like what you're after.
     
  3. thread starter macrumors newbie

    Joined:
    Aug 17, 2010
    Location:
    Liverpool
    #3
    Perfect thank you !!!
     

Share This Page