Authored by Olivier Poitrey

Merge pull request #97 from muhku/master

UIButton+WebCache: set the cached image in the UIControlStateSelected and UIControlStateHighlighted states
@@ -71,6 +71,8 @@ @@ -71,6 +71,8 @@
71 - (void)webImageManager:(SDWebImageManager *)imageManager didFinishWithImage:(UIImage *)image 71 - (void)webImageManager:(SDWebImageManager *)imageManager didFinishWithImage:(UIImage *)image
72 { 72 {
73 [self setImage:image forState:UIControlStateNormal]; 73 [self setImage:image forState:UIControlStateNormal];
  74 + [self setImage:image forState:UIControlStateSelected];
  75 + [self setImage:image forState:UIControlStateHighlighted];
74 } 76 }
75 77
76 @end 78 @end