ios 14 react native 图片不显示bug

路径react-native/Libraries/Image/RCTUIImageViewAnimated.m下

if(_currentFrame) { layer.contentsScale= self.animatedImageScale; layer.contents= (__bridgeid)_currentFrame.CGImage; }

修改成:

if(_currentFrame) { layer.contentsScale= self.animatedImageScale; layer.contents= (__bridgeid)_currentFrame.CGImage; }else{ [superdisplayLayer:layer]; }



 https://github.com/facebook/react-native/issues/29279

你可能感兴趣的:(ios 14 react native 图片不显示bug)