Explorar o código

PDFAnnotation(iOS) - 权限控制

dinglingui hai 1 ano
pai
achega
5753b62de2

+ 6 - 0
Annotation-Ctrl-Demo/Annotation-Ctrl-Demo.xcodeproj/project.pbxproj

@@ -391,6 +391,9 @@
 				"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
 				GENERATE_INFOPLIST_FILE = YES;
 				INFOPLIST_FILE = "Annotation-Ctrl-Demo/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_UIMainStoryboardFile = Main;
@@ -421,6 +424,9 @@
 				"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = arm64;
 				GENERATE_INFOPLIST_FILE = YES;
 				INFOPLIST_FILE = "Annotation-Ctrl-Demo/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_UIMainStoryboardFile = Main;