search

Home  >  Q&A  >  body text

iOS interacts with html, the html reference path is wrong.

I use the mobile phone as the server When accessed via a web page, the html file of the program will be loaded,


Problem: Only html can be loaded but not js and css files called in html

I asked a web developer and said there was a problem with my reference path.
Kneel down and beg God for enlightenment! ! !

世界只因有你世界只因有你2824 days ago736

reply all(1)I'll reply

  • 滿天的星座

    滿天的星座2017-05-02 09:33:43

    If the file is packaged into the project, you must check "Create Directory Reference" when adding the folder. After adding it, there will be a blue folder icon in Xcode.

    reply
    0
  • Cancelreply