UIImagePickerController working without NS Photo Library and Camera descriptions

假装没事ソ 提交于 2019-11-27 16:28:20

why does the app not ask for permissions with the NS usage statements

This is due to a change in iOS 11. You no longer need user authorization merely to receive a UIImage through the UIImagePickerController.

But if you want deeper information, i.e. access to the image as a PHAsset and its metadata, you do need user authorization.

And of course if you want this app to run on iOS 10 and before, you'll still need user authorization.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!