Select multiple photos from iPhone photo library [PHPickerViewController]
Picker that replaces UIImagePickerController (2020 release).
You can use
PHPicker settings and display
Import PhotosUI and let your class inherit PHPickerViewControllerDelegate.
Set PHPicker and display it.
You can get the media with the Delegate method.
The media is returned as an array of itemProviders.
The itemProvider can check if the class of the target media can be obtained by the
canLoadObject method, and the media data can be obtained by the loadObject method.
Sorry for Japanese Preview.This time my phone can’t search photos with English so..