检测'带到前面'事件?

时间:2011-01-25 13:40:14

标签: iphone events multitasking

如何在iPhone4或更高版本中检测后台运行应用程序的“带到前面”事件?

1 个答案:

答案 0 :(得分:1)

- (void)applicationDidBecomeActive:(UIApplication *)application;将在未调用以下任何一种情况的情况下被调用。

- (void)applicationDidFinishLaunching:(UIApplication *)application;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;