how to determine in applicationDidBecomeActive whether it is the initial iPhone app launch?
how to determine in how to determine in UIApplicationDidBecomeActiveNotification whether it is the initial app launch?whether it is the initial app launch? that is the initial start up of the application, as opposed to subsequent DidBecomeActive's due to the application being put in background and then to foreground (e.g. user goes to calendar then back to your app) In your applicationDidFinishLaunching:withOptions: put this: [[NSUserDefaults standardUserDefaults] setBool:YES forKey:@"alreadyLaunched"]; [[NSUserDefaults standardUserDefaults] synchronize]; Then, in didBecomeActive : if ([