Merge pull request #1363 from muer2000/patch-3

Fixed #1361 sd_cancelBackgroundImageLoadForState
This commit is contained in:
Bogdan Poplauschi 2016-01-08 16:50:00 +02:00
commit 8aca4ca1b3
1 changed files with 1 additions and 1 deletions

View File

@ -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];