Building an HTML5 iOS app with UIWebView

前端 未结 3 857
轻奢々
轻奢々 2021-02-02 15:52

I have a client who suggested we simply wrap an HTML5 app as a native iOS app by just creating a UIWebView and offloading all of the application-logic to the HTML5 app. This wo

3条回答
  •  南方客
    南方客 (楼主)
    2021-02-02 16:37

    HTML5 features within a WebView are really great (and growing). You can do almost everything.

    But if you want use some special features inaccessible via HTML5 (or include some 3rd-party ObjC libraries), you can setup a very simple interaction between ObjC and JavaScript.

提交回复
热议问题