jQuery not loading on the iPhone

旧街凉风 提交于 2019-11-29 09:35:16

Gah! EBCAK!

Turns out when I copied the jquery javascript source into the project, it was copied into the target's "Compile Sources," which of course threw errors. I deleted it from "Compile Sources" but didn't add it back to "Copy Bundle Resources."

/me slaps forehead repeatedly.

Have you tried copying both the .html and .js files to the app's documents folder, and pointing the UIWebView to that local folder?

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