Thank you for the answer.
I’m developing a CoreData application that allow the user to store data and pictures. The app is doing some local backups of the CoreData store. Since pictures can make the store very large I just backup the data of the store without the pictures (I keep only the assetIdentifier).
If for some reason the user need to restore the data from a backup, the app will try to look for the original pictures in the user library using the asset identifiers. This is working fine if the user is restoring the data on the same device, but if the backup is restored on another device the local identifiers become useless.
The idea was to also store the cloud identifier so that the restore procedure has a chance to find the original pictures also on a different device.
Now, I really don’t want to ask user to grant library access during the normal use of the app. Access will be requested only in the rare case that a restore is required.
Personally, I would love to receive the cloud identifier directly inside the PHPickerResult like the assetIdentifier.
What do you think about it?