How can I write an iPhone app entirely in JavaScript without making it just a web app?

前端 未结 10 1505
离开以前
离开以前 2020-12-07 07:22

I don\'t want to take the time to learn Obj-C. I\'ve spent 7+ years doing web application programming. Shouldn\'t there be a way to use the WebView and just write the whole

10条回答
  •  无人及你
    2020-12-07 07:50

    I ran into this same problem. I already have a game written entirely in Javascript. I would love to make an iPhone friendly version, but Obj-C is an overkill. What I ended up doing was using the WebView to point to a special url of the iphone app. After thinking about it, I suppose I could just move those files to the app directory and run them locally.

提交回复
热议问题