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

与 最新版 SDWebImage v4.4.3 产生冲突 #196

Open
polichan opened this issue Feb 15, 2019 · 2 comments
Open

与 最新版 SDWebImage v4.4.3 产生冲突 #196

polichan opened this issue Feb 15, 2019 · 2 comments

Comments

@polichan
Copy link

Xcode 报两个错误,尝试降级无果。

Incompatible block pointer types sending 'void (^)(NSInteger, NSInteger)' to parameter of type 'SDWebImageDownloaderProgressBlock _Nullable' (aka 'void (^)(NSInteger, NSInteger, NSURL * _Nullable __strong)')
No visible @interface for 'PYPhotoView' declares the selector 'sd_imageURL'
@Colrying
Copy link

Colrying commented Feb 19, 2019

我的也报这个错误,暂时解决报错使用了。
第一个问题:在progress的block参数中增加一个 NSURL * 类型参数
第二个问题:导入头文件 #import "UIView+WebCache.h"

@stopthinking
Copy link

我也遇到这个问题了,虽然可以暂时解决,就怕再重新更新一下就又要覆盖了。

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

3 participants