Merge pull request #97 from muhku/master

UIButton+WebCache: set the cached image in the UIControlStateSelected and UIControlStateHighlighted states
This commit is contained in:
Olivier Poitrey 2012-04-25 16:22:30 -07:00
commit 973591d433
1 changed files with 2 additions and 0 deletions

View File

@ -71,6 +71,8 @@
- (void)webImageManager:(SDWebImageManager *)imageManager didFinishWithImage:(UIImage *)image
{
[self setImage:image forState:UIControlStateNormal];
[self setImage:image forState:UIControlStateSelected];
[self setImage:image forState:UIControlStateHighlighted];
}
@end