ios|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];
}
【ios|ios 14 react native 图片不显示bug】 https://github.com/facebook/react-native/issues/29279
推荐阅读
- 2020-04-07vue中Axios的封装和API接口的管理
- iOS中的Block
- 记录iOS生成分享图片的一些问题,根据UIView生成固定尺寸的分享图片
- react|react 安装
- 2019-08-29|2019-08-29 iOS13适配那点事
- Hacking|Hacking with iOS: SwiftUI Edition - SnowSeeker 项目(一)
- iOS面试题--基础
- 接口|axios接口报错-参数类型错误解决
- iOS|iOS 笔记之_时间戳 + DES 加密
- iOS,打Framework静态库