-2

Good day,

How do I get the path of images from the ios 16 Photos Picker(PhotosUI Library) as I am trying to store the path in a json file to retrieve later to display

I have a form with a image picker and I want to store the path in json file and then later retrieve the path from the json file to show the image on another view.

1 Answers1

0

There are no images and no paths. The photo library is a database.

You can get the photo asset's identifier if you have permissions, and then you can use that elsewhere to fetch the same photo from the database.

matt
  • 515,959
  • 87
  • 875
  • 1,141