您好,我正在使用SDWebImage在Xcode10.2.1中将图像设置为按钮。我正在尝试以下方法 import SDWebImage
individualChatsListArraymust be unwrapped to refer to member
'sd_setImage' of wrapped base type
因此,我有一个UIButton,它的imageView被设置为使用下载URL的图像。为此,我使用SDWebImage。问题是,当我按下delete按钮时,我希望图像完全消失,但我猜这不起作用,因为图像仍在从缓存中检索。我该如何解决这个问题?class ViewController: UIViewController{
let b