I can use the SDWebImage to load a small size image with an url to show on an UIImageView. But I don't know how to load a larger size image with another url to show on the same UIImageView after I has loaded the smaller size image.
[aImageView setImageWithURL:fristUrl placeholderImage:[UIImage imageNamed:@"placeholder.png"] success:^(UIImage *image) {
[aImageView setImageWithURL:secondUrl placeholderImage:image success:^(UIImage *image) {
;
} failure:^(NSError *error) {
NSLog(@"error105size:%@", [error description]);
}];
} failure:^(NSError *error) {
NSLog(@"error50size:%@", [error description]);
}];
I has used the code above, but it crashed. Hope your answers.