iOS:Fix ImageNode cannot showed up

This commit is contained in:
pengfeizhou 2021-02-04 17:14:16 +08:00 committed by osborn
parent 0666b61096
commit e32e6a321a

View File

@ -218,7 +218,7 @@ - (void)blendView:(UIImageView *)view forPropName:(NSString *)name propValue:(id
if (self.loadCallbackId.length > 0) {
[self callJSResponse:self.loadCallbackId, nil];
}
} else {
} else if (image && stage == YYWebImageStageFinished) {
if (image.scale != self.imageScale) {
image = [YYImage imageWithCGImage:image.CGImage scale:self.imageScale orientation:image.imageOrientation];
self.view.image = image;