For up-to-date product documentation, see the IBM MobileFirst Foundation Developer Center.


WKWebView (iOS)

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


Overview

From IBM MobileFirstâ„¢ Platform Foundation V8.0.0, we 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 our 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.

Parent topic: Cordova WebView