Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 9 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save EddyVerbruggen/f120a9a6a3c36a342daa to your computer and use it in GitHub Desktop.
Save EddyVerbruggen/f120a9a6a3c36a342daa to your computer and use it in GitHub Desktop.
Run this in your Mac Terminal (assuming you have the Ionic CLI):
----------------------------------------------------------------
ionic start wkwebviewpolyfilltest
cd wkwebviewpolyfilltest
ionic setup sass
ionic platform add ios
ionic plugin add https://github.com/EddyVerbruggen/cordova-plugin-wkwebview
ionic build
----------------------------------------------------------------
Now open the app in XCode.
To disable the WKWebViewPlugin, rename the `load` method in `AppDelegate+WKWebViewPolyfill.m` to anything else.
While running the app you can monitor its performance (memory/cpu) with the 'Debug navigator' (hit `CMD-6` on your keyboard).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment