From e32e6a321a547e560f5726e80a28d50898e9e3fe Mon Sep 17 00:00:00 2001 From: pengfeizhou Date: Thu, 4 Feb 2021 17:14:16 +0800 Subject: [PATCH] iOS:Fix ImageNode cannot showed up --- doric-iOS/Pod/Classes/Shader/DoricImageNode.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doric-iOS/Pod/Classes/Shader/DoricImageNode.m b/doric-iOS/Pod/Classes/Shader/DoricImageNode.m index 472f8f28..d7d7e837 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricImageNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricImageNode.m @@ -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;