iPhone Passcode Entry Points
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,开发者_如何学Python and multitasking?
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.
精彩评论