【问题标题】:React Native "RNCSafeAreaView" was not found in the UIManager在 UIManager 中找不到 React Native “RNCSafeAreaView”
【发布时间】:2020-02-03 07:17:16
【问题描述】:

我正在 Mac 上运行 react-native 应用程序。但我在 UIManager 中找不到“RNCSafeAreaView”。

【问题讨论】:

  • 你能分享你使用过SafeReaView的代码吗?你是如何导入的?

标签: android ios react-native react-native-android react-native-ios


【解决方案1】:

通过在终端输入以下命令更新此模块的版本:

npm install react-native-safe-area-context@1.0.2

它会解决这个问题

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 2023-01-14
    • 2020-05-14
    • 2020-05-06
    • 2019-02-21
    • 2021-02-22
    • 1970-01-01
    • 1970-01-01
    • 2018-12-21
    相关资源
    最近更新 更多