SDWebImage + UITableViewCell, wrong image when scrolling?

前端 未结 5 1905
失恋的感觉
失恋的感觉 2021-02-06 04:08

i\'m having an issue using SDWebImage to load images to a UIImageView inside a custom UITableViewCell. This is my code at the UITableView delegate:

    static NS         


        
5条回答
  •  忘了有多久
    2021-02-06 05:01

    Override prepareForReuse method in your cell class and cancel all loadings there. Do not forget to call super

提交回复
热议问题