重庆迈尖科技有限公司
2019-01-30 94217b294ccd75a34787eb04d6e273e99536e45b
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;