Question

I've written a passcode system for my iPhone app, and currently have it working perfectly in the -applicationDidFinishLaunching method, but I was wondering what are the other methods I have to override to account for things like sleep, and multitasking?

Was it helpful?

Solution

For the app delegate, probably

- (void)applicationDidBecomeActive:(UIApplication *)application;

and

- (void)applicationWillEnterForeground:(UIApplication *)application;

You might also want to use:

- (void)applicationSignificantTimeChange:(UIApplication *)application;

I think that covers it, though.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top