From 94217b294ccd75a34787eb04d6e273e99536e45b Mon Sep 17 00:00:00 2001 From: 重庆迈尖科技有限公司 Date: 星期三, 30 一月 2019 15:12:32 +0800 Subject: [PATCH] no message --- BuWanVideo2.0/UIImageView+YTH.m | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/BuWanVideo2.0/UIImageView+YTH.m b/BuWanVideo2.0/UIImageView+YTH.m index 1df55b9..763d3ee 100755 --- a/BuWanVideo2.0/UIImageView+YTH.m +++ b/BuWanVideo2.0/UIImageView+YTH.m @@ -13,7 +13,7 @@ - (void)setYthImageWithURL:(NSString *)urlStr placeholderImage:(UIImage *)placeholder{ if (urlStr.length>4) { if ([[urlStr substringWithRange:NSMakeRange(0, 4)] isEqualToString:@"http"]) { - [self yy_setImageWithURL:[NSURL URLWithString:urlStr] placeholder:placeholder options:YYWebImageOptionProgressiveBlur|YYWebImageOptionSetImageWithFadeAnimation|YYWebImageOptionIgnoreAnimatedImage progress:^(NSInteger receivedSize, NSInteger expectedSize) { + [self yy_setImageWithURL:[NSURL URLWithString:urlStr] placeholder:placeholder options:YYWebImageOptionProgressiveBlur|YYWebImageOptionSetImageWithFadeAnimation progress:^(NSInteger receivedSize, NSInteger expectedSize) { } transform:^UIImage * _Nullable(UIImage * _Nonnull image, NSURL * _Nonnull url) { return image; @@ -21,7 +21,7 @@ }]; }else{ - [self yy_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",ImageUrl,urlStr]] placeholder:placeholder options:YYWebImageOptionProgressiveBlur|YYWebImageOptionSetImageWithFadeAnimation|YYWebImageOptionIgnoreAnimatedImage progress:^(NSInteger receivedSize, NSInteger expectedSize) { + [self yy_setImageWithURL:[NSURL URLWithString:[NSString stringWithFormat:@"%@%@",ImageUrl,urlStr]] placeholder:placeholder options:YYWebImageOptionProgressiveBlur|YYWebImageOptionSetImageWithFadeAnimation progress:^(NSInteger receivedSize, NSInteger expectedSize) { } transform:^UIImage * _Nullable(UIImage * _Nonnull image, NSURL * _Nonnull url) { return image; -- Gitblit v1.8.0