Przeglądaj źródła

ComPDF(iOS)-工程配置

dinglingui 1 rok temu
rodzic
commit
3684e3f27f
1 zmienionych plików z 6 dodań i 0 usunięć
  1. 6 0
      ComPDFKit/ComPDFKit.xcodeproj/project.pbxproj

+ 6 - 0
ComPDFKit/ComPDFKit.xcodeproj/project.pbxproj

@@ -385,6 +385,9 @@
 				"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
 				GENERATE_INFOPLIST_FILE = YES;
 				INFOPLIST_FILE = ComPDFKit/Info.plist;
+				INFOPLIST_KEY_NSCameraUsageDescription = "Enable camera access so that you can create scans with your camera.";
+				INFOPLIST_KEY_NSMicrophoneUsageDescription = "Your consent is required before you could access the function.";
+				INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Enable photo access so that you can create scans with your photos.";
 				INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
 				INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
 				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
@@ -413,6 +416,9 @@
 				"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
 				GENERATE_INFOPLIST_FILE = YES;
 				INFOPLIST_FILE = ComPDFKit/Info.plist;
+				INFOPLIST_KEY_NSCameraUsageDescription = "Enable camera access so that you can create scans with your camera.";
+				INFOPLIST_KEY_NSMicrophoneUsageDescription = "Your consent is required before you could access the function.";
+				INFOPLIST_KEY_NSPhotoLibraryUsageDescription = "Enable photo access so that you can create scans with your photos.";
 				INFOPLIST_KEY_UIApplicationSupportsIndirectInputEvents = YES;
 				INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen;
 				INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";