TruckMovers / cordova-plugin-remote-injection

DEPRECATED: Cordova plugin to allow a remote site to interact with cordova's javascript APIs when loaded within a cordova app.
Apache License 2.0
91 stars 95 forks source link

Use cordova-ios@4.x updateWithInfo to update web view delegate #2

Open bradleyjames opened 8 years ago

bradleyjames commented 8 years ago

When researching #1 I got a tip from @shazron on Slack.

also with cordova-ios 4.x, you can update the webview delegate of the engine dynamically, by using the updateWithInfo selector, passing the appropriate key and value: https://github.com/apache/cordova-ios/blob/e51eda0f3b1e68d210182c3bbd3d9022c1ffe8ec/CordovaLib/Classes/Public/CDVWebViewEngineProtocol.h#L23