Include iOS web app wrapper functionsality

Creating an iOS web app wrapper involves embedding a web application within a native iOS app using a WKWebView component, allowing the web content to function as a standalone app. This approach is commonly used to package a website or Progressive Web App (PWA) into a native iOS application for distribution via the App Store. The core of the wrapper is a WKWebView instance that loads the web app’s URL, with additional configuration to manage navigation, loading states, and user interactions.

To implement this, developers typically use Xcode to create a new iOS project and integrate a WKWebView into the app’s interface. The web app’s URL is loaded using a URLRequest, and the app can be customized to restrict navigation to specific domains, preventing users from accessing external sites within the app. This behavior can be controlled through WKWebView delegate methods, such as webView(_:didFinish:) to handle page load completion and webView(_:didFailProvisionalNavigation:withError:) to manage loading errors.

Do you have a question, or is this for our edification?

For edification. It would be nice to have the option to build an iOS wrapper for the WebApp included with the build.

This technique is prohibited in the both the Mac and iOS app stores.

4.2 Minimum Functionality
Your app should include features, content, and UI that elevate it beyond a repackaged website. If your app is not particularly useful, unique, or “app-like,” it doesn’t belong on the App Store.

Source: Apple Review Guidelines

2 Likes