React-native Webview历史

时间:2018-12-30 06:07:38

标签: react-native

我需要一些用户以前在webview中访问过的网站地址。

<WebView
//Enable Javascript support
    javaScriptEnabled={true}
//For the Cache
    domStorageEnabled={true}
//View to show while loading the webpage
    renderLoading={this.ActivityIndicatorLoadingView}
//Want to show the view or not
    startInLoadingState={true}
    ref={component => this.webview = component}
    source={{uri:  this.state.addr}}
    style={{flex:1}} 
/>

0 个答案:

没有答案