You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by sh...@apache.org on 2015/09/09 00:02:48 UTC

[11/19] cordova-plugin-wkwebview-engine git commit: Implemented URL property for CDVWebViewEngineProtocol

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 <sh...@gmail.com>
Authored: Fri Mar 13 18:49:41 2015 -0700
Committer: Shazron Abdullah <sh...@gmail.com>
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: dev-unsubscribe@cordova.apache.org
For additional commands, e-mail: dev-help@cordova.apache.org