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 2013/09/17 02:27:16 UTC

git commit: Revert "[CB-4806] Update splashscreen image bounds for iOS 7"

Updated Branches:
  refs/heads/master 96d5875dc -> 4275e57a7


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/master
Commit: 4275e57a738b804edca3fd14e68f5d1b0979f467
Parents: 96d5875
Author: Shazron Abdullah <sh...@apache.org>
Authored: Mon Sep 16 17:27:09 2013 -0700
Committer: Shazron Abdullah <sh...@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;