我有一个图片链接 people.avatarbig: http://ws.loc.sh/images/515b9f54e4b04a5a481030f9 当你使用浏览打开它时,你什么也看不到,所以 SDWebImage 应该显示 placeholderImage 但现在它什么都不显示。我的代码:
if(![GlobalVariable isBlankString:people.avatarbig])
{
[imageView1 setImageWithURL:[NSURL URLWithString:people.avatarbig]
placeholderImage:[UIImage imageNamed:@"default_user.png"]];
}else{
imageView1.image=[UIImage imageNamed:@"default_user.png"];
}
为什么 SDWebImage 不显示 placeholderImage?