Implemented URL property for CDVWebViewEngineProtocol
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/repo Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/commit/aac2db16 Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/tree/aac2db16 Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/diff/aac2db16 Branch: refs/heads/master Commit: aac2db16c3b9d84a988d76beed6e3fa86ab0c363 Parents: dd69873 Author: Shazron Abdullah <[email protected]> Authored: Fri Mar 13 18:49:41 2015 -0700 Committer: Shazron Abdullah <[email protected]> Committed: Fri Mar 13 18:49:41 2015 -0700 ---------------------------------------------------------------------- src/ios/CDVWKWebViewEngine.m | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/cordova-plugin-wkwebview-engine/blob/aac2db16/src/ios/CDVWKWebViewEngine.m ---------------------------------------------------------------------- diff --git a/src/ios/CDVWKWebViewEngine.m b/src/ios/CDVWKWebViewEngine.m index 63218ba..65b1bd5 100644 --- a/src/ios/CDVWKWebViewEngine.m +++ b/src/ios/CDVWKWebViewEngine.m @@ -110,6 +110,11 @@ return [(WKWebView*)_engineWebView loadHTMLString:string baseURL:baseURL]; } +- (NSURL*) URL +{ + return [(WKWebView*)_engineWebView URL]; +} + - (void)updateSettings:(NSDictionary*)settings { WKWebView* wkWebView = (WKWebView*)_engineWebView; --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
