Fixed #1361 sd_cancelBackgroundImageLoadForState
Fixed sd_cancelBackgroundImageLoadForState in sd_setBackgroundImageWithURL method
This commit is contained in:
parent
30e9e0b516
commit
40ad58571b
|
@ -111,7 +111,7 @@ static char imageURLStorageKey;
|
|||
}
|
||||
|
||||
- (void)sd_setBackgroundImageWithURL:(NSURL *)url forState:(UIControlState)state placeholderImage:(UIImage *)placeholder options:(SDWebImageOptions)options completed:(SDWebImageCompletionBlock)completedBlock {
|
||||
[self sd_cancelImageLoadForState:state];
|
||||
[self sd_cancelBackgroundImageLoadForState:state];
|
||||
|
||||
[self setBackgroundImage:placeholder forState:state];
|
||||
|
||||
|
|
Loading…
Reference in New Issue