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/10/01 22:26:01 UTC

git commit: [CB-4806] (Re-fix) Update splashscreen image bounds for iOS 7

Updated Branches:
  refs/heads/dev abc62a5ed -> c2dea2fc0


[CB-4806] (Re-fix) Update splashscreen image bounds for iOS 7


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/c2dea2fc
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/c2dea2fc
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/c2dea2fc

Branch: refs/heads/dev
Commit: c2dea2fc02beb71c154eff6fbe80c3c3729e2f74
Parents: abc62a5
Author: Shazron Abdullah <sh...@apache.org>
Authored: Tue Oct 1 13:26:05 2013 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Tue Oct 1 13:26:05 2013 -0700

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


http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/c2dea2fc/src/ios/CDVSplashScreen.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVSplashScreen.m b/src/ios/CDVSplashScreen.m
index 8159ce1..a1c11c3 100644
--- a/src/ios/CDVSplashScreen.m
+++ b/src/ios/CDVSplashScreen.m
@@ -170,7 +170,6 @@
     // There's a special case when the image is the size of the screen.
     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;
         }