iOS:Fix ImageNode cannot showed up
This commit is contained in:
parent
0666b61096
commit
e32e6a321a
@ -218,7 +218,7 @@ - (void)blendView:(UIImageView *)view forPropName:(NSString *)name propValue:(id
|
|||||||
if (self.loadCallbackId.length > 0) {
|
if (self.loadCallbackId.length > 0) {
|
||||||
[self callJSResponse:self.loadCallbackId, nil];
|
[self callJSResponse:self.loadCallbackId, nil];
|
||||||
}
|
}
|
||||||
} else {
|
} else if (image && stage == YYWebImageStageFinished) {
|
||||||
if (image.scale != self.imageScale) {
|
if (image.scale != self.imageScale) {
|
||||||
image = [YYImage imageWithCGImage:image.CGImage scale:self.imageScale orientation:image.imageOrientation];
|
image = [YYImage imageWithCGImage:image.CGImage scale:self.imageScale orientation:image.imageOrientation];
|
||||||
self.view.image = image;
|
self.view.image = image;
|
||||||
|
Reference in New Issue
Block a user