Post

Replies

Boosts

Views

Activity

Confused about PHPicker's privacy
Hi I'm very confused about PHPicker's privacy. I basically have 2 questions: In my app, I'm able to create a PHPickerViewController instance and present it. The picker displays all photos in my photo library, even though no access permission is granted. Is this expected? When I selected photos and received their assetIdentifier, I tried fetching the corresponding PHAsset(My app needs PHAsset. A UIImage won't be enough), only to get a PHUnauthorizedFetchResult. So apparently I still need to prompt for access permission in order to fetch the PHAsset. This is not aligned with this intro video https://developer.apple.com/videos/play/wwdc2020/10652 where it claims this picker "Won't prompt for photo library access". Am I doing something wrong? Any replies are very much appreciated!
1
0
3.0k
Jul ’20