UIImageView shouldn't set image to placeholder image whenever an old image request comes in
This commit is contained in:
parent
a466c27886
commit
1c606919fc
@ -108,8 +108,6 @@ static char kAFImageRequestOperationObjectKey;
|
||||
|
||||
if ([[urlRequest URL] isEqual:[[self.af_imageRequestOperation request] URL]]) {
|
||||
self.image = responseObject;
|
||||
} else {
|
||||
self.image = placeholderImage;
|
||||
}
|
||||
|
||||
[[AFImageCache sharedImageCache] cacheImageData:operation.responseData forURL:[urlRequest URL] cacheName:nil];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user