3 ms·
I use PHPickerViewController: https://developer.apple.com/documentation/photokit/phpickerviewcontroller https://developer.apple.com/documentation/photokit/phpic
by liuliu 4y ago
I use PHPickerViewController: https://developer.apple.com/documentation/photokit/phpickerviewcontroller https://developer.apple.com/documentation/photokit/phpickerv... which runs out of the process such that when you want to select a photo into the app, I have no access to any information about your other photos and the location info is erased from what PHPickerViewController passed to me.
When save the photo, I only use UIImageWriteToSavedPhotosAlbum (https://developer.apple.com/documentation/uikit/1619125-uiimagewritetosavedphotosalbum https://developer.apple.com/documentation/uikit/1619125-uiim...) which asks you permission to write to the album, not read permission (they are separate). There are more things I can do if I have read permissions (like create a "Draw Things" collections and save to that, rather than save to generic Camera Roll). Ultimately decided to not do that because I don't want more permissions than I minimally absolutely need.
- mistersquid 4y agoThank you for the detailed explanation. I appreciate it.