How to draw animated gif?

Hi everyone

Thanks to this forum, even beginner, I can progress my app project.

Now, I want to let my app to display animated gif. I tried to put animated gif onto xcassets, and use standard "Image" view. However, animated gif image has not been displayed.

I suppose iOS SDK does not support animated gif officially. However, is there some other ways than official one?

Best regards,

Answered by Claude31 in 643795022
Accepted Answer
Thank you for sharing the solution.
That helps a lot.

Following the keywords that these articles write down, I searched another information for SwiftUI. Then I found that.

https://stackoverflow.com/questions/57151335/how-to-animate-images-in-swiftui-to-play-a-frame-animation
(I choose the way to split animated gifs to multiple png images)

Thanks to your information, I could reach the solution.
Thank you so much :-)
How to draw animated gif?
 
 
Q