The newish PHPicker is a great way to access the users’ photo library without requiring fill access permissions. However, this is currently no way for accessing the original or unadjusted version of an asset. The preferredAssetRepresentationMode
of the PHPickerConfiguration
only allows the options automatic
, compatible
, and current
, where current
still returns the asset with previous adjustments applied. The option only seems to impact potential asset transcoding.
In contrast, when fetching PHAsset
data, one can specify the PHImageRequestOptionsVersion
unadjusted
or original
, which give access to the underlying untouched image. It would be great to have these options in the PHPicker interface as well.
The alternative would be to load the image through PHAsset
via the identifier returned by the picker, but that would require full library access, which I want to avoid.
Or is there another way to access the original image without these permissions?