In my iOS app I have an ImageView and two Buttons for opening the camera and the photolibrary. When I click on one of the buttons the app closes. (I\'m running the app on my dev
If you are developing the app in ios 10 , then have to add the privacy permission setting in your info.plist and describe something where you need this privacy.
Privacy Setting List:
Bluetooth Sharing – NSBluetoothPeripheralUsageDescription
Calendar – NSCalendarsUsageDescription
CallKit – NSVoIPUsageDescription
Camera – NSCameraUsageDescription
Contacts – NSContactsUsageDescription
Health – NSHealthShareUsageDescription & NSHealthUpdateUsageDescription
HomeKit – NSHomeKitUsageDescription
Location – NSLocationUsageDescription, NSLocationAlwaysUsageDescription,
NSLocationWhenInUseUsageDescription
Media Library – NSAppleMusicUsageDescription
Microphone – NSMicrophoneUsageDescription
Motion – NSMotionUsageDescription
Photos – NSPhotoLibraryUsageDescription
Reminders – NSRemindersUsageDescription
Speech Recognition – NSSpeechRecognitionUsageDescription
SiriKit – NSSiriUsageDescription
TV Provider – NSVideoSubscriberAccountUsageDescription