diff --git a/SDWebImage/UIButton+WebCache.m b/SDWebImage/UIButton+WebCache.m index 4cbf0c000..ed0d77c46 100644 --- a/SDWebImage/UIButton+WebCache.m +++ b/SDWebImage/UIButton+WebCache.m @@ -83,7 +83,6 @@ - (void)sd_setImageWithURL:(NSURL *)url forState:(UIControlState)state placehold animation.type =kCATransitionFade; [sself.layer addAnimation:animation forKey:@"fade"]; } - [sself setImage:image forState:state]; } if (completedBlock && finished) { diff --git a/SDWebImage/UIImageView+WebCache.m b/SDWebImage/UIImageView+WebCache.m index 23a95f652..dad31d091 100644 --- a/SDWebImage/UIImageView+WebCache.m +++ b/SDWebImage/UIImageView+WebCache.m @@ -63,7 +63,6 @@ - (void)sd_setImageWithURL:(NSURL *)url placeholderImage:(UIImage *)placeholder animation.type =kCATransitionFade; [wself.layer addAnimation:animation forKey:@"fade"]; } - wself.image = image; [wself setNeedsLayout]; } else {