Search code examples
iosswiftuiimagepickercontrollergif

UIImagePickerController does not display GIFs correctly


I am using the UIImagePickerController for my app. With that, users can pick all different types of visual media - images, GIFs & videos (movies).

However, GIFs are displayed as Images in the "Edit image" screen, that comes with the UIImagePickerController by default. They do not move.

I am not sure, but is there a way to tell the imagePickerController to play the GIFs in the "Edit image" screen?

Here are some images that show you what I mean:

Unanimated gif in the image album

GIF still not animated when user selects it and gets to this screen

Here you can see, that neither of the two screens from the UIImagePickerViewController display GIFs correctly?

Any help would be appreciated!


Solution

  • is there a way to tell the imagePickerController to play the GIFs in the "Edit image" screen

    No. There is no built in display of animated gifs in any public API.