美文网首页iOS学习
Kingfisher Ambiguous use of 'se

Kingfisher Ambiguous use of 'se

作者: 晨煜煌 | 来源:发表于2020-02-27 16:48 被阅读0次

神奇的错误

imageView.kf.setImage(with: url, placeholder: placeHolder, options: nil, progressBlock: nil, completionHandler: nil)

改成

imageView.kf.setImage(with: url, placeholder: placeHolder, options: nil, progressBlock: nil) { (reslt) in
                
            }

或者

imageView.kf.setImage(with: url, placeholder: placeHolder)

completionHandler 不能传nil,原因不明确,敬请大神告知,十分感谢!!

相关文章

网友评论

    本文标题:Kingfisher Ambiguous use of 'se

    本文链接:https://www.haomeiwen.com/subject/mwlxhhtx.html