Open antonzhigalov opened 1 month ago
When using UIImageView
to display a gif, by default the whole gif frames are loaded into the memory. If you have a gif with huge frames or large in size, it might cause issues.
To get a better memory performance, consider to use the AnimatedImageView
.
Check List
Thanks for considering to open an issue. Before you submit your issue, please confirm these boxes are checked.
Issue Description
I'm trying to show a gif image in an imageview that results in high memory consumption in the app - over 1GB for a 550KB gif file.
Reproduce
Code example: