PhotosPicker, how to select additional images later on?

In my app I use PhotosPicker to select images. After selection the images the image data will be saved in a CoreData entity - this works fine.

However, When the user wants to add more images and go back to adding photos with PhotosPicker - how can I reference the already added images and show them as selected in PhotosPicker?

The imageIdentifier is not allowed to use, so how can I do get a reference to the selected images to display them as selected in PhotosPicker?

Thanks for any hint!

Replies

You can retrieve asset identifiers from the PhotosPicker API without requesting for library access, if you use the PhotosPicker(photoLibrary:) initializer.