From 139a1d00ff8ce966fda2cb710827246b97f96aac Mon Sep 17 00:00:00 2001 From: Sonny Gauran Date: Thu, 17 Aug 2017 01:18:39 +0800 Subject: [PATCH] Added required Info.plist keys --- README.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/README.md b/README.md index 77f15d4e..1238a3f2 100644 --- a/README.md +++ b/README.md @@ -24,6 +24,18 @@ ALCameraViewController is available on CocoaPods. Add the following to your Podf pod 'ALCameraViewController' ``` +### Privacy (iOS 10) ### +If you are building your app with iOS 10 or newer, you need to add two privacy keys to your app's `Info.plist` to allow the usage of the camera and photo library, or your app will crash. + +Add the keys below to the `` tag of your `Info.plist`, replacing the strings with the description you want to provide when prompting the user: + +``` + NSPhotoLibraryUsageDescription + Enable Photos access to import photos from your library. + NSCameraUsageDescription + Enable Camera to take photos. +``` + ### Usage To use this component couldn't be simpler.