[Objective-C] app状态NSLog →→→→→进入此内容的聊天室

来自 , 2020-08-12, 写在 Objective-C, 查看 138 次.
URL http://www.code666.cn/view/8b2dfbe0
  1. - (void)application:(UIApplication *)application didFinishLaunchingWithOptions:
  2. (NSDictionary *)launchOptions {
  3. NSLog(@"%@, NSStringFromSelector(_cmd));
  4. }
  5.  
  6. - (void)applicationWillResignActive {
  7.    NSLog(@"%@", NSStringFromSelector(_cmd));
  8. }
  9.  
  10. - (void)applicationDidBecomeActive {
  11.    NSLog(@"%@", NSStringFromSelector(_cmd));
  12. }
  13.  
  14. - (void)applicationDidEnterBackground {
  15.    NSLog(@"%@", NSStringFromSelector(_cmd));
  16.  
  17. }
  18.  
  19. - (void)applicationWillEnterForeground {
  20. NSLog(@"%@", NSStringFromSelector(_cmd));
  21.  
  22. }
  23.  
  24. - (void)applicationWillTerminate:(UIApplication *)application {
  25. NSLog(@"%@", NSStringFromSelector(_cmd));
  26. }
  27. //objectc/5156

回复 "app状态NSLog"

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

captcha