AppDelegate.m 1.3 KB

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