Reputation: 12018
I have a Phonegap iOS application in which I am using Angular Kendo mobile framework for build UI.
I want to use WKWebView
in my application instead of UIWebView.
So what all steps I need to follow to do so?
I tried to integrate it by adding the WKWebView plugin but in my application I see blank page only and in logs errors for loading html pages.
Upvotes: 1
Views: 1741
Reputation: 3002
You have to install the plugin like this:
cordova plugin add cordova-plugin-wkwebview
And after that in your config.xml
add this:
<plugin name="cordova-plugin-wkwebview" />
<feature name="CDVWKWebViewEngine">
<param name="ios-package" value="CDVWKWebViewEngine" />
</feature>
<preference name="CordovaWebViewEngine" value="CDVWKWebViewEngine" />
Upvotes: 1