AppDelegate.m 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. //
  2. // AppDelegate.m
  3. // PDFViewer
  4. //
  5. // Created by kdan on 2022/11/14.
  6. //
  7. #import <ComPDFKit/ComPDFKit.h>
  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. [CPDFKit setLicenseKey:@"d2rW7BdT+peaa/hxOm4N/PYo5lotThkuHWjzZs4IXTOdY7Wss9Vk/lZni8H4rKu7t/RMjwDlJIXKIqzwOO0h2IakMBU5cy12KJhwgKRGBL2rBSN7GpOoZTufmlxsrj6RWP60/mQ39ZQiTAjx4eTVL9VwudIk/2Zj7YfhVweCJN0=" secret:@"mG0c3O3Mzeu5dkZJW3gpql8+jBucojBtBSjI3YJz2gAQurxTxGuBlGAhs0P1mD3XKqvsLa4npVLfI/mo45dkJ5QFcNndGDskT70Jc2iwVo5hrp9sGpqfp0B228KI+IMTu4aGVjtYuk+Uxs/kosIBw1367/WkJ00tM7U7tttD6ccsvUiEnSpVC16x66CLYBR9nL4G5ayY1Yw9IbVniEuzaCCVg1bqAdLSXAjS4mxI/QshmpPEP0qS8yPf877NfXnm6gW/UFOMJ5eWQQ5IO+aCVQ=="];
  15. return YES;
  16. }
  17. #pragma mark - UISceneSession lifecycle
  18. - (UISceneConfiguration *)application:(UIApplication *)application configurationForConnectingSceneSession:(UISceneSession *)connectingSceneSession options:(UISceneConnectionOptions *)options {
  19. // Called when a new scene session is being created.
  20. // Use this method to select a configuration to create the new scene with.
  21. return [[UISceneConfiguration alloc] initWithName:@"Default Configuration" sessionRole:connectingSceneSession.role];
  22. }
  23. - (void)application:(UIApplication *)application didDiscardSceneSessions:(NSSet<UISceneSession *> *)sceneSessions {
  24. // Called when the user discards a scene session.
  25. // If any sessions were discarded while the application was not running, this will be called shortly after application:didFinishLaunchingWithOptions.
  26. // Use this method to release any resources that were specific to the discarded scenes, as they will not return.
  27. }
  28. @end