下拉箭头不显示
zhangyuepeng86 opened this issue · 0 comments
zhangyuepeng86 commented
下来箭头不显示,可否用下面代码解决
fileprivate let imageView: UIImageView = {
let imageView = UIImageView.init()
if /* Carthage */ let bundle = Bundle.init(identifier: "com.eggswift.CRRefresh") {
imageView.image = UIImage(named: "refresh_arrow", in: bundle, compatibleWith: nil)
} else if /* CocoaPods */ let bundle = Bundle.init(identifier: "org.cocoapods.CRRefresh") {
imageView.image = UIImage(named: "NormalHeader.bundle/images/refresh_arrow", in: bundle, compatibleWith: nil)
} else /* Manual */ {
imageView.image = UIImage(named: "refresh_arrow")
}
// imageView.image = crBundle?.imageFromBundle("refresh_arrow")
return imageView
}()