[CB-4806] Update splashscreen image bounds for iOS 7

This commit is contained in:
Shazron Abdullah 2013-09-13 15:58:36 -07:00
parent 079bd6fc63
commit 96d5875dc3

View File

@ -171,6 +171,9 @@
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;