FMPhotoPicker now supports getting raw PHAsset when finishing photo picking.
Using the new API, you can get user-selected photos includes both images and videos.
To get the selected photos as PHAsset
s you have to:
- Set the
shouldReturnAsset
on the configuration totrue
- Implement this method in your delegate:
func fmPhotoPickerController(_ picker: FMPhotoPickerViewController, didFinishPickingPhotoWith assets: [PHAsset])