Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/reactjs/23.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Reactjs React Native Webview使导航栏变为透明_Reactjs_Webview_React Native - Fatal编程技术网

Reactjs React Native Webview使导航栏变为透明

Reactjs React Native Webview使导航栏变为透明,reactjs,webview,react-native,Reactjs,Webview,React Native,不确定这是不是一个错误。我使用的是react native 0.33,当我在nexus 5(Android 6.0)上测试我的应用程序时,一旦webview打开,导航栏就会变得透明。 然后,它将在下一次打开时恢复为黑色 我的代码非常简单: this.props.navigator.push({ name: 'web_page', passProps:{ url: news.url,

不确定这是不是一个错误。我使用的是react native 0.33,当我在nexus 5(Android 6.0)上测试我的应用程序时,一旦webview打开,导航栏就会变得透明。 然后,它将在下一次打开时恢复为黑色

我的代码非常简单:

          this.props.navigator.push({
          name: 'web_page',
            passProps:{
              url: news.url,
              title: news.title,
            },
          callback: this.refreshNewsReadStatus.bind(this)
          });
有人知道吗