您的位置:首页 > 其它

SDWebImage第三方框架报错问题

2015-03-10 23:30 281 查看

SDWebImage报错

我们再用SDWebImage第三方框架时,会遇到这种低级的问题,报错:Use of undeclared identifier _executing/_finished;其实就是因为没有实现@synthesize



解决办法

只需在SDWebImageDownloaderOperation的.m文件中添加@synthesize,重新编译即可,例如:

@implementation SDWebImageDownloaderOperation {
    size_t width, height;
    UIImageOrientation orientation;
    BOOL responseFromCached;
}
@synthesize executing=_executing;
@synthesize finished=_finished;
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: