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?

Replies

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.

  • Thank you for your feedback. May I know, do we have access to 71832162 ticket? Can app developer take a look on 71832162 ticket to understand more? Thank you

  • I tried converting the GIF file to JPEG format but it lost its animation property and became a static image.

Add a Comment

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