How to wrap a website in a phone app?

后端 未结 5 855
爱一瞬间的悲伤
爱一瞬间的悲伤 2021-02-02 07:00

I have seen a lot of mobile phone apps that just open a web page without the controls. Just the page.

I am looking for guidance and links to start something simple like

5条回答
  •  既然无缘
    2021-02-02 07:24

    For iOS/iPhone, you can encapsulate a web app or web page inside an app's bundle, and display the site inside a full-height UIWebView. To add non-HTML5 features (which may be required for Apple to approve the app for their App store distribution), you can trap custom URLs via the shouldStartLoadWithRequest: delegate method and handle them with native Object C code.

提交回复
热议问题