cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [2/7] git commit: Revert "[CB-4806] Update splashscreen image bounds for iOS 7"
Date Mon, 28 Oct 2013 22:13:38 GMT
Revert "[CB-4806] Update splashscreen image bounds for iOS 7"

This reverts commit 96d5875dc38515c75c969284d252ed1cfbb34310.


Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/4275e57a
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/4275e57a
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/4275e57a

Branch: refs/heads/dev
Commit: 4275e57a738b804edca3fd14e68f5d1b0979f467
Parents: 96d5875
Author: Shazron Abdullah <shazron@apache.org>
Authored: Mon Sep 16 17:27:09 2013 -0700
Committer: Shazron Abdullah <shazron@apache.org>
Committed: Mon Sep 16 17:27:09 2013 -0700

----------------------------------------------------------------------
 src/ios/CDVSplashScreen.m | 3 ---
 1 file changed, 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/4275e57a/src/ios/CDVSplashScreen.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVSplashScreen.m b/src/ios/CDVSplashScreen.m
index 8159ce1..ba8d108 100644
--- a/src/ios/CDVSplashScreen.m
+++ b/src/ios/CDVSplashScreen.m
@@ -171,9 +171,6 @@
     if (CGSizeEqualToSize(screenSize, imgBounds.size)) {
         CGRect statusFrame = [self.viewController.view convertRect:[UIApplication sharedApplication].statusBarFrame
fromView:nil];
         imgBounds.origin.y -= statusFrame.size.height;
-        if (!(IsAtLeastiOSVersion(@"7.0"))) {
-            imgBounds.origin.y -= statusFrame.size.height;
-        }        
     } else {
         CGRect viewBounds = self.viewController.view.bounds;
         CGFloat imgAspect = imgBounds.size.width / imgBounds.size.height;


Mime
View raw message