WKWebView (iOS)

You can replace the default UIWebView in your MobileFirst hybrid iOS Cordova app with WKWebView.

About this task

From IBM MobileFirst™ Platform Foundation V8.0.0, you can integrate WKWebView with your hybrid iOS Cordova MobileFirst app.

WKWebView provides an improved WebView. WKWebView displays interactive web content, such as for an in-app browser.

Procedure

To get started with WKWebView, install the WKWebView plug-in to your Cordova project.
cordova plugin add cordova-plugin-wkwebview-engine

Results

After your app is created, Cordova uses the WKWebView component instead of the default UIWebView component.
Note: To learn about known issues with WKWebView plug-in, see wkwebview-known-issues.