Can we perform filtering on PHPickerViewController, to exclude GIF?

For PHPickerViewController, we know we can perform simple filtering by

var config = PHPickerConfiguration()
config.filter = PHPickerFilter.images

But, how about we only want to show images with format JPG & PNG, but excluding GIF? This is because our app doesn't support GIF.

Is it possible to do so?

Answered by ForumsContributor in
Accepted Answer

Thanks for the feedback. This is tracked by 71832162.

Before 71832162 is resolved, you can convert GIF images to PNG/JPEG formats after receiving them, or show an error alert to your users if they are selected.

71832162 is resolved with the .playbackStyle(.animated) filter.

Can we perform filtering on PHPickerViewController, to exclude GIF?
 
 
Q