How to load local html assets in directories (js, images, css) in a UIWebview? (iOS)

馋奶兔 提交于 2019-12-04 12:26:22
Kenneth Ballenegger

Easy: when you add the folder(s) to Xcode, make sure you add them as folder references.

They will then be added as folders to the .app bundle:

Bob Kinney

You should be able to do this. The important thing to note is how files are added to your project. When adding files via Xcode, make sure to check "Create folder references for any aded folders", and NOT "Create groups for any added folders".

reference

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!