When I access my Photo Library with an UIImagePicker to choose a photo, the app shows me sometimes a black screen and sometimes a screen that says that I have to give permis
I realize that this is an old question, but have one other last-ditch tip to offer...
After trying the above suggestions, I still had Camera, Photos, Music Library permissions issues on an iPod touch running iOS 9.3. The Settings app > Privacy > Photos
listed no apps (neither did Privacy > Camera
, or Privacy > Media Library
). The Settings app did not contain a row for my app, so there was no way for customers to change my app's Privacy permissions.
The solution was to open the Settings app > General > Reset
, then tap Reset Location & Privacy
. Apparently, my device's privacy settings had somehow become corrupted. After the reset, all these issues were resolved.