App does not have access to your photos or videos iOS 9

后端 未结 7 752
[愿得一人]
[愿得一人] 2020-11-29 05:19

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

相关标签:
7条回答
  • 2020-11-29 06:06

    For those still getting this error in iOS 10, it is a question of new Privacy settings implemented in iOS 10.

    Basically, in the Info.plist, you have to state why you want to access the Photo library by setting the Privacy - Photo Library Usage Description key (note, this can be left to a blank string).

    More about it here: http://useyourloaf.com/blog/privacy-settings-in-ios-10/

    0 讨论(0)
提交回复
热议问题