AppDelegate.m 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. //
  2. // AppDelegate.m
  3. // TestGIF
  4. //
  5. // Created by huangyirong on 2020/6/2.
  6. // Copyright © 2020 Sogou. All rights reserved.
  7. //
  8. #import "AppDelegate.h"
  9. @interface AppDelegate ()
  10. @end
  11. @implementation AppDelegate
  12. - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions {
  13. // Override point for customization after application launch.
  14. return YES;
  15. }
  16. #pragma mark - UISceneSession lifecycle
  17. - (UISceneConfiguration *)application:(UIApplication *)application configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession options:(UISceneConnectionOptions *)options {
  18. // Called when a new scene session is being created.
  19. // Use this method to select a configuration to create the new scene with.
  20. return [[UISceneConfiguration alloc] initWithName:@"Default Configuration" sessionRole:connectingSceneSession.role];
  21. }
  22. - (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet<UISceneSession *> *)sceneSessions {
  23. // Called when the user discards a scene session.
  24. // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
  25. // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
  26. }
  27. @end