UIImagePickerController not returning image, can I use the reference URL?

168 Views Asked by At

For a very small portion of my users UIImagePickerController seems to fail at retrieving the selected images

Looking at logging I've set, the images keys (both originalImage and editedImage) are empty, the info result only has the referenceURL and mediaType keys

Since no one has sent me a test case and I haven't been able to replicate it, I'm trying to mitigate it with other methods

I want to use PHImageManager with the referenceURL in case the image keys are empty, but I don't know if this is the right approach, considering I need to add a Privacy notice about reading the Photo Library

I know about the new picker in iOS 14, this would be a legacy solution

0

There are 0 best solutions below