Trying to resolve view with tag 518 which doesno’t 或者
Trying to resolve view with tag 533 which doesno’t
先说一下错误的产生场景,在用react-native-view-shot做界面内容保存为手机相册的时候遇到了这个问题
<View ref='viewShot'>
...
</View>
这个错误仅发生在android端,ios端没有错误提示
解决方案:
为view 添加 style,并指定backgroundColor属性