diff --git a/doric-iOS/Pod/Classes/Shader/DoricImageNode.m b/doric-iOS/Pod/Classes/Shader/DoricImageNode.m index 59eb2496..dff56206 100644 --- a/doric-iOS/Pod/Classes/Shader/DoricImageNode.m +++ b/doric-iOS/Pod/Classes/Shader/DoricImageNode.m @@ -244,7 +244,11 @@ - (void)blendView:(UIImageView *)view forPropName:(NSString *)name propValue:(id } } else if ([@"imageRes" isEqualToString:name]) { YYImage *image = [YYImage imageNamed:prop]; - view.image = image; + if (image) { + view.image = image; + } else { + view.image = [UIImage imageNamed:prop]; + } if (self.loadCallbackId.length > 0) { if (image) {