React Native“RNCSafeAreaView"在 UIManager 中找不到 [英] React Native "RNCSafeAreaView" was not found in the UIManager
本文介绍了React Native“RNCSafeAreaView"在 UIManager 中找不到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在 Mac 上运行 react-native 应用程序.但我在 UIManager 中找不到RNCSafeAreaView".
I am running a react-native application on Mac. but I am getting "RNCSafeAreaView" was not found in the UIManager.
推荐答案
通过在终端中键入以下命令来更新此模块的版本:
update version of this module by typing following command in terminal:
npm install react-native-safe-area-context@1.0.2
npm install react-native-safe-area-context@1.0.2
它会解决这个问题
这篇关于React Native“RNCSafeAreaView"在 UIManager 中找不到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文