[CB-4806] (Re-fix) Update splashscreen image bounds for iOS 7
This commit is contained in:
parent
abc62a5eda
commit
c2dea2fc02
@ -170,7 +170,6 @@
|
|||||||
// There's a special case when the image is the size of the screen.
|
// There's a special case when the image is the size of the screen.
|
||||||
if (CGSizeEqualToSize(screenSize, imgBounds.size)) {
|
if (CGSizeEqualToSize(screenSize, imgBounds.size)) {
|
||||||
CGRect statusFrame = [self.viewController.view convertRect:[UIApplication sharedApplication].statusBarFrame fromView:nil];
|
CGRect statusFrame = [self.viewController.view convertRect:[UIApplication sharedApplication].statusBarFrame fromView:nil];
|
||||||
imgBounds.origin.y -= statusFrame.size.height;
|
|
||||||
if (!(IsAtLeastiOSVersion(@"7.0"))) {
|
if (!(IsAtLeastiOSVersion(@"7.0"))) {
|
||||||
imgBounds.origin.y -= statusFrame.size.height;
|
imgBounds.origin.y -= statusFrame.size.height;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user