It's not that simple, but as Rob mentioned, you can save the URL of the photo resource and then retrieve it using the framework. You can get them using the requestImageData method of the PHImageManager method.
import UIKit import Photos class ViewController: UIViewController, UINavigationControllerDelegate, UIImagePickerControllerDelegate { @IBOutlet weak var imageView: UIImageView! let galleryPicker = UIImagePickerController()
Note. Do not forget to edit your information layer and add "Privacy - description of the use of the photo library"
Example
Leo dabus
source share