You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by jc...@apache.org on 2017/07/23 17:02:25 UTC

cordova-plugin-inappbrowser git commit: CB-12586 (iOS) fix method hide doesn't work

Repository: cordova-plugin-inappbrowser
Updated Branches:
  refs/heads/master 6e058624d -> 32d867f8e


CB-12586 (iOS) fix method hide doesn't work

 This closes #229


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/commit/32d867f8
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/tree/32d867f8
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/diff/32d867f8

Branch: refs/heads/master
Commit: 32d867f8e45c2b14580b64c48d8f963b6b1d594f
Parents: 6e05862
Author: Julio César <jc...@gmail.com>
Authored: Sun Jul 23 18:03:06 2017 +0200
Committer: Julio César <jc...@gmail.com>
Committed: Sun Jul 23 19:02:19 2017 +0200

----------------------------------------------------------------------
 src/ios/CDVInAppBrowser.m | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-inappbrowser/blob/32d867f8/src/ios/CDVInAppBrowser.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVInAppBrowser.m b/src/ios/CDVInAppBrowser.m
index c9ebad2..f5d05f0 100644
--- a/src/ios/CDVInAppBrowser.m
+++ b/src/ios/CDVInAppBrowser.m
@@ -270,7 +270,7 @@
     dispatch_async(dispatch_get_main_queue(), ^{
         if (self.inAppBrowserViewController != nil) {
             _previousStatusBarStyle = -1;
-            [self.viewController dismissViewControllerAnimated:YES completion:nil];
+            [self.inAppBrowserViewController.presentingViewController dismissViewControllerAnimated:YES completion:nil];
         }
     });
 }


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org