You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2015/03/14 02:49:45 UTC

cordova-plugins git commit: Implemented URL property for CDVWebViewEngineProtocol

Repository: cordova-plugins
Updated Branches:
  refs/heads/master 5d5588f69 -> 1e1f519c3


Implemented URL property for CDVWebViewEngineProtocol


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugins/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugins/commit/1e1f519c
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugins/tree/1e1f519c
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugins/diff/1e1f519c

Branch: refs/heads/master
Commit: 1e1f519c374fb0dea44512c8782029eac8f37039
Parents: 5d5588f
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

----------------------------------------------------------------------
 wkwebview-engine/src/ios/CDVWKWebViewEngine.m | 5 +++++
 1 file changed, 5 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugins/blob/1e1f519c/wkwebview-engine/src/ios/CDVWKWebViewEngine.m
----------------------------------------------------------------------
diff --git a/wkwebview-engine/src/ios/CDVWKWebViewEngine.m b/wkwebview-engine/src/ios/CDVWKWebViewEngine.m
index 63218ba..65b1bd5 100644
--- a/wkwebview-engine/src/ios/CDVWKWebViewEngine.m
+++ b/wkwebview-engine/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: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org