Merge pull request #896 from skrew/master
Update UIImageView+WebCache.m
This commit is contained in:
commit
2233b5e77d
|
|
@ -43,7 +43,9 @@ static char imageURLKey;
|
|||
objc_setAssociatedObject(self, &imageURLKey, url, OBJC_ASSOCIATION_RETAIN_NONATOMIC);
|
||||
|
||||
if (!(options & SDWebImageDelayPlaceholder)) {
|
||||
self.image = placeholder;
|
||||
dispatch_main_async_safe(^{
|
||||
self.image = placeholder;
|
||||
});
|
||||
}
|
||||
|
||||
if (url) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue