Best way to build native applications with JavaScript?

前端 未结 7 2245
死守一世寂寞
死守一世寂寞 2020-12-15 06:43

I\'ve been playing for a while with phonegap, did some tests on my Android...

It\'s pretty nice.

My questions are:
What is the best (your favorite) frame

7条回答
  •  鱼传尺愫
    2020-12-15 06:45

    If your app is going to be very simple (for example a port of existing web app) and you need it only on one platform and it does not need integration with phone-specific features you may want to simply use a WebView on the selected platform. If your selected platform is iOS and you don't have any programming skills, you can follow these steps:

    • Download xCode on your Mac,
    • Download this simple web view app project: https://github.com/nomtek/iOSWebViewApp
    • Open the simple web view app within xCode
    • Add your HTMLs to the project
    • Run it :)

    Advantages of this approach:

    • Simple setup
    • No extra libraries to load - the application starts much faster

提交回复
热议问题