Add this key to your info.plist
,
Key : Privacy - Photo Library Usage Description [ NSPhotoLibraryUsageDescription ]
String Value : We need access to your camera roll and photo library, so that we can do operations on it. [ Customise it in your own way]
That's it, Clean & Run
the project.
In xcode 8 new key is added Privacy For -
Media,Location,Photo Library,Reminders,Motion,Calender,Bluetooth,HomeKit,Camera,Contacts etc.. and value is Description for the privacy you will access for.For ex. "We need access to use photo library to make functionality work" or ANY_YOUR_APP_RELATED_DESCRIPTION.
Noticed a camera key and value needed for camera usage as well.
Keys required for both the camera and photo library that need to be in the info.plist:
<key>NSCameraUsageDescription</key>
<string>Access needed to use your camera.</string>
<key>NSPhotoLibraryUsageDescription</key>
<string>Access needed to photo gallery.</string>
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With