AFNetworking/AFNetworking — Issue #194: calling setImageWithURLRequest more than twice with the same URL do nothing.
Author: minorblend
Created: 2012-01-28 18:01:51+00:00
State: open

calling setImageWithURLRequest more than twice with the same URL do nothing because of the image cache and the following if-statements in UIImageView+AFNetworking.m:

if (![urlRequest URL] || (![self.af_imageRequestOperation isCancelled] && [[urlRequest URL] isEqual:[[self.af_imageRequestOperation request] URL]])) {
return;
} else {
[self cancelImageRequestOperation];
}

How can I download image from the same url more again into the same UIView object? my image download server keeps url the same while changing its contents period periodically.