Skip to content
This repository was archived by the owner on Jul 1, 2022. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 `<dict>` tag of your `Info.plist`, replacing the strings with the description you want to provide when prompting the user:

```
<key>NSPhotoLibraryUsageDescription</key>
<string>Enable Photos access to import photos from your library.</string>
<key>NSCameraUsageDescription</key>
<string>Enable Camera to take photos.</string>
```

### Usage

To use this component couldn't be simpler.
Expand Down