From 555d55ac8a3a6b6800e7cdb088b2be26d42e8c44 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julio=20C=C3=A9sar?= Date: Sat, 13 Feb 2016 19:33:21 +0100 Subject: [PATCH] Fixes CB-10607 When the device is in portrait upside down the toolbar appears at the bottom. This fix set the origin to the 0,0 point --- src/ios/CDVInAppBrowser.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ios/CDVInAppBrowser.m b/src/ios/CDVInAppBrowser.m index 8b2c90c..8e5a75e 100644 --- a/src/ios/CDVInAppBrowser.m +++ b/src/ios/CDVInAppBrowser.m @@ -1019,8 +1019,8 @@ CGFloat temp = rect.size.width; rect.size.width = rect.size.height; rect.size.height = temp; - rect.origin = CGPointZero; } + rect.origin = CGPointZero; } return rect; }