如何在iPhone4或更高版本中检测后台运行应用程序的“带到前面”事件?
答案 0 :(得分:1)
- (void)applicationDidBecomeActive:(UIApplication *)application;
将在未调用以下任何一种情况的情况下被调用。
- (void)applicationDidFinishLaunching:(UIApplication *)application;
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions;