【发布时间】:2018-06-06 06:49:01
【问题描述】:
在 Kingfisher 文档中,有关于在为常规 imageView 设置图像时设置 indicatorType 的信息:
imageView.kf.indicatorType = .activity
imageView.kf.setImage(with: url)
但是为UIButton设置背景图片时如何设置indicatorType呢?
myButton.kf.setBackgroundImage(with: url, for: .normal)
【问题讨论】:
标签: ios swift kingfisher