Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/react-native/7.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
React native 我想从react native Webview获取网站加载的背景色或主题色。如何解决这个问题_React Native - Fatal编程技术网

React native 我想从react native Webview获取网站加载的背景色或主题色。如何解决这个问题

React native 我想从react native Webview获取网站加载的背景色或主题色。如何解决这个问题,react-native,React Native,这是我的密码。。 我想通过react native社区实现的Webview查找渲染网站的背景色。如何识别任何加载网站的背景色 <Webview> source={{ uri: this.state.webUrl }} style={{ justifyContent: 'center', alignItems: 'center' }} onNavigationStateChange={this._onNavigationStateChange.bind(this)}

这是我的密码。。 我想通过react native社区实现的Webview查找渲染网站的背景色。如何识别任何加载网站的背景色

<Webview>
   source={{ uri: this.state.webUrl }}
   style={{ justifyContent: 'center', alignItems: 'center' }}
   onNavigationStateChange={this._onNavigationStateChange.bind(this)}
</Webview>

source={{uri:this.state.webUrl}}
style={{justifyContent:'center',alignItems:'center'}
onNavigationStateChange={this.\u onNavigationStateChange.bind(this)}