Skip to content

Using GIF from URL breaks UIImageView in list when loading images later on in the list #212

@PeterMorrison250

Description

@PeterMorrison250

When creating a scrollable list that contains both GIFs and static images, if a GIF is loaded in through a URL, it breaks that UIImageView, so that when that list cell is recycled and an image is loaded into that cell, it just renders as a blank cell instead of the image.

The more the user scrolls through this list, the more the recycling occurs and the more that this damaged UIImageView causes static images to become blank.

This behaviour can be seen in the SwiftyGif example solution by adding a local static image file and referencing it 5 or 6 times in the ViewController images array. When scrolling through it, there will be multiple static images showing as blank in the list

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions