开发者

iPhone Passcode Entry Points

开发者 https://www.devze.com 2023-01-28 07:43 出处:网络
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 overri

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消