Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在我的应用程序中添加 webview 及其加载 Html 文件,但在我的 Html 页面中,我引用了 js 和 css 文件但未加载。我遵循了 stackoverflow 中给出的许多想法,但仍然无法正常工作。谁能告诉我你的想法,谢谢?
目前xcode不引用嵌套文件夹中的java脚本文件所以我收集了所有文件,如(HTML,js,css文件)并将它们放在其他资源文件夹中。它在构建阶段自动引用编译源。确保没有列出编译源只需执行以下操作。
目标->构建阶段->单击 + 按钮并添加资源,如(HTML、js、css 文件)。现在可以正常工作