0
<Modal transparent={false} animationType={"slide"} visible={this.props.isVisible}>
<WebView
source={this.getLandingUri()}
scrollEnabled={true}
startInLoadingState={true}
onLoad={this.getLoadingIndicator}
onNavigationStateChange={this.onNavigationStateChange}
/>
</Modal>
我一直在使用react.native WebView来提示用户登录页面,现在我想添加一个导航/状态栏,为用户提供一个“完成”按钮以及当前的域。有没有添加导航/状态栏到react.native WebView的方法?
下面是两张屏幕截图,显示了我目前拥有的(l)和我想要拥有的(r)。
我在WebView上找不到任何相关的道具来呈现状态栏。这可能吗?
https://stackoverflow.com/questions/42599850/how -to-prevent-layout-from-overlapping-with-ios-status-bar – iPatel
这不能解决我的问题 – gen