mirror of
https://github.com/apache/cordova-plugin-splashscreen.git
synced 2026-04-14 00:01:34 +08:00
Revert "[CB-4806] Update splashscreen image bounds for iOS 7"
This reverts commit 96d5875dc3.
This commit is contained in:
@@ -171,9 +171,6 @@
|
|||||||
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;
|
imgBounds.origin.y -= statusFrame.size.height;
|
||||||
if (!(IsAtLeastiOSVersion(@"7.0"))) {
|
|
||||||
imgBounds.origin.y -= statusFrame.size.height;
|
|
||||||
}
|
|
||||||
} else {
|
} else {
|
||||||
CGRect viewBounds = self.viewController.view.bounds;
|
CGRect viewBounds = self.viewController.view.bounds;
|
||||||
CGFloat imgAspect = imgBounds.size.width / imgBounds.size.height;
|
CGFloat imgAspect = imgBounds.size.width / imgBounds.size.height;
|
||||||
|
|||||||
Reference in New Issue
Block a user