无法在Xcode 11 Beta中将视频添加到模拟器

时间:2019-06-28 03:54:22

标签: ios xcode xcode11 ios13

如何将视频添加到Xcode 11 beta模拟器?

当我在终端中拖放视频或运行 class Test extends HTMLElement { constructor() { super() this.attachShadow({ mode: "open" }) } connectedCallback() { this.shadowRoot.innerHTML = this.render() } render() { return ` <style> #editor { width: 90%; margin: 50px 0; height: 300px; background: white; color:black; padding:20px; display: block; border:solid 1px black; } </style> <div id="editor" contenteditable="true"> </div> ` } } customElements.define("text-editor", Test); 时,视频显示为图像

enter image description here

模拟器媒体文件夹:

enter image description here

0 个答案:

没有答案