UIImageView shouldn't set image to placeholder image whenever an old image request comes in
This commit is contained in:
parent
a466c27886
commit
1c606919fc
1 changed files with 0 additions and 2 deletions
|
|
@ -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…
Add table
Reference in a new issue