[Objective-C] objective C从后台恢复挂起的应用 →→→→→进入此内容的聊天室

来自 , 2019-04-15, 写在 Objective-C, 查看 175 次.
URL http://www.code666.cn/view/659b7b42
  1. - (void)applicationDidEnterBackground:(UIApplication *)application
  2. {
  3.     // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
  4.     // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
  5.     NSLog(@"applicationDidEnterBackground 挂起");
  6. }
  7.  
  8. - (void)applicationWillEnterForeground:(UIApplication *)application
  9. {
  10.     // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
  11.     NSLog(@"applicationWillEnterForeground 恢复");
  12. }
  13. //objectc/5095

回复 "objective C从后台恢复挂起的应用"

这儿你可以回复上面这条便签

captcha