AppDelegate.m 1.2 KB

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