html - 我的 iOS 应用程序中带有 WebView 的 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",
}}
/>
你能帮我吗?
解决方案
推荐阅读
- c# - PInvoke 从指针到结构的封送值
- python - 使用python在任务管理器中运行同一应用程序进程的Taskkill多个实例
- python - 当光标悬停在 Python (tkinter) 中的画布上时显示消息
- scala - Spark 3.0 scala.None$ 不是字符串模式的有效外部类型
- kubernetes - Kubernetes minikube 自动缩放中是否提供中断功能?
- ruby - 由于 mac 上的 rubyracer 错误,无法安装 Jekyll
- python - 关闭文件后我的函数没有正确调用?
- encryption - Weak Ticket Encryption - Disable RC4 encryption
- c - C1356: unable to find mspdbcore.dll
- hosting - How to host Asp.Net Core website without kestrel using IIS on shared server where I cannot upload exe file