我的带WebView的iOS应用中的HTML视图为空

我正在尝试使用类似示例中的应用内提供的HTML文件创建视图,但是如果我想在Testflight中对其进行测试,则该视图为空:

import React from 'react';
import { WebView } from 'react-native-webview';

在渲染中:

<WebView 
     useWebKit={true}
     source={ require('../../assets/platillo/platillo.html') } 
     originWhitelist={["*"]}
     style={‌{
          width: windowWidth,height: windowHeight,backgroundColor: "#ccc",}}
/>

可以帮我吗?

yong1962 回答:我的带WebView的iOS应用中的HTML视图为空

暂时没有好的解决方案,如果你有好的解决方案,请发邮件至:iooj@foxmail.com
本文链接:https://www.f2er.com/3019046.html

大家都在问