参考地址:https://www.jianshu.com/p/43d7afbcac66
路径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]; }
github的issue: https://github.com/facebook/react-native/issues/29279