开发者

link css and javascript to xcode iphone app

I have copy and pasted the css and js files for Copy Bundle R开发者_如何学运维esources and removed them from Compile Sources.

How do I "link" or "import" them so I can use the css and javascript files?

Can anyone enlighten me?


First, make sure that you have the right links to your css & javascript files when you move them into your xcode project. If and when you have made a project in xcode, you should be able to view your project directory in finder. From there, navigate to the www folder and make sure that all of your code is pasted into this folder. Also, make sure that your home page is named "index.html" as this is how xcode will find the correct html page to display upon booting.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜