RN app在iphone更新了14系统后,图片不展示了
这个根据网上查阅了一些大佬的文章后,发现这是一个rn的小bug;后续官方可能会更新;记录一下目前的一个已知解决方法:
修改路径react-native/Libraries/Image/RCTUIImageViewAnimated.m下的代码
//修改前
if(_currentFrame) {
layer.contentsScale= self.animatedImageScale;
layer.contents= (__bridgeid)_currentFrame.CGImage;