From 6bbe647e3a4450172fec592cafce894bae3fc24f Mon Sep 17 00:00:00 2001 From: Howard Huang Date: Thu, 14 Jul 2016 00:32:00 +0800 Subject: [PATCH] Add NSPhotoLibraryUsageDescription and NSCameraUsageDescription with reasons to access photo library and camera for both objective-C and swift demo apps --- YangMingShanDemo/ObjC/Info.plist | 4 ++++ YangMingShanDemo/Swift/Info.plist | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/YangMingShanDemo/ObjC/Info.plist b/YangMingShanDemo/ObjC/Info.plist index 6905cc6..b3fd9ed 100644 --- a/YangMingShanDemo/ObjC/Info.plist +++ b/YangMingShanDemo/ObjC/Info.plist @@ -36,5 +36,9 @@ UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight + NSPhotoLibraryUsageDescription + The photo library is used to select photos + NSCameraUsageDescription + The camera is used to take a new photo diff --git a/YangMingShanDemo/Swift/Info.plist b/YangMingShanDemo/Swift/Info.plist index 77ed324..9059e60 100644 --- a/YangMingShanDemo/Swift/Info.plist +++ b/YangMingShanDemo/Swift/Info.plist @@ -36,5 +36,9 @@ UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight + NSPhotoLibraryUsageDescription + The photo library is used to select photos + NSCameraUsageDescription + The camera is used to take a new photo