ios10 – iOS 10 – Changes in asking permissions of Camera,Photo Library causing application to crash – IOS 10 Permission required for accessing Camera, Photo library ….

iOS 10 Now Requires User Permission to Access Media Library, Photos,
Camera and other Hardware like these. The solution for this is to add
their keys into info.plist with description for user that how we are
using their data , iOS already required permissions to access microphone, camera, and media library earlier (iOS6, iOS7), but since iOS10 the apps will crash if you don’t provide the description why you are asking for the permission.

There is a list of all Cocoa Keys that you can specify in your Info.plist file

Photo :

Key       :  Privacy - Photo Library Usage Description    
Value   :  $(PRODUCT_NAME) photo use

Microphone :

Key        :  Privacy - Microphone Usage Description    
Value    :  $(PRODUCT_NAME) microphone use

Camera :

Key       :  Privacy - Camera Usage Description   
Value   :  $(PRODUCT_NAME) camera use

https://developer.apple.com/library/content/documentation/General/Reference/InfoPlistKeyReference/Articles/CocoaKeys.html][1]

if you want to reproduce, please indicate the source:
ios10 – iOS 10 – Changes in asking permissions of Camera,Photo Library causing application to crash – IOS 10 Permission required for accessing Camera, Photo library …. - CodeDay