Reusable cell old image showing

后端 未结 6 717
醉话见心
醉话见心 2021-01-12 07:30

I am facing a problem when scrolling from top to bottom of my tableview. The reusable cell shows old image until new image download is completed.

It sh

6条回答
  •  悲&欢浪女
    2021-01-12 08:21

    Its Very Simple Not Write Much Code Only Two Lines Solve Your Problem

        cell.thumbnailimage.image = nil
        cell.thumbnailimage.setImageWith(imageurl!)
    

提交回复
热议问题