执行UI块时引发异常:-[__ NSCFConstantString count]:无法识别的选择器发送到实例**

时间:2020-07-06 16:29:13

标签: react-native

我正在尝试将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' }}
/>

Screenshot of Error

0 个答案:

没有答案