iOS WebViews
iOS WebViews
This guide shows how to embed a Cordova-enabled WebView component within a larger iOS application. For details on how these components can communicate with each other, see Application Plugins.
Support for WebViews for iOS started with Cordova version 1.4, using a Cleaver
component for which the Xcode template serves as a reference implementation. Cordova 2.0 and later versions only support the subproject-based Cleaver implementation.
These instructions require at least Cordova 4.x and Xcode 8.0, along with a config.xml
file from a newly created iOS project. You can use the procedure in The Command-Line Interface to create a new project, then obtain the config.xml
file from within the named application's subdirectory within platforms/ios
.
To follow these instructions, make sure you have the latest Cordova distribution. D