iPHone X支持本机主题

时间:2018-04-02 11:21:25

标签: react-native native-base

鉴于我使用native-base格式化react-native page组件的代码如下:

.. <Container>
<Content>
...
<Content>

</Container>

以下:

"dependencies": {
    ..
    "firebase": "^4.11.0",
    "immutable": "^3.8.2",
    ..
    "native-base": "2.3.10",
    "native-echarts": "^0.4.0",
    "prop-types": "^15.6.0",
    "react": "16.2.0",
    "react-native": "0.52.0",

  }

当谈到在iPhone X模拟器上执行时,它转向下面:

enter image description here

请问您能告诉我哪种方法可以摆脱顶部和底部的黑色空间?

0 个答案:

没有答案