Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

下拉箭头不显示 #9

Open
zhangyuepeng86 opened this issue Sep 1, 2017 · 0 comments
Open

下拉箭头不显示 #9

zhangyuepeng86 opened this issue Sep 1, 2017 · 0 comments

Comments

@zhangyuepeng86
Copy link

zhangyuepeng86 commented Sep 1, 2017

下来箭头不显示,可否用下面代码解决

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
    }()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant