Merge pull request #97 from muhku/master
UIButton+WebCache: set the cached image in the UIControlStateSelected and UIControlStateHighlighted states
This commit is contained in:
commit
973591d433
|
@ -71,6 +71,8 @@
|
||||||
- (void)webImageManager:(SDWebImageManager *)imageManager didFinishWithImage:(UIImage *)image
|
- (void)webImageManager:(SDWebImageManager *)imageManager didFinishWithImage:(UIImage *)image
|
||||||
{
|
{
|
||||||
[self setImage:image forState:UIControlStateNormal];
|
[self setImage:image forState:UIControlStateNormal];
|
||||||
|
[self setImage:image forState:UIControlStateSelected];
|
||||||
|
[self setImage:image forState:UIControlStateHighlighted];
|
||||||
}
|
}
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
Loading…
Reference in New Issue