我正在尝试将Web视图与react-native-webview
库一起使用,但出现此错误:
Exception thrown while executing UI block: -[__NSCFConstantString count]: unrecognized selector sent to instance **
这是我正在使用的代码:
<WebView
style={{ flex: 1 }}
useWebKit={true}
startInLoadingState={false}
source={{ url: 'https://www.google.com' }}
/>