diff --git a/CHANGELOG.md b/RELEASENOTES.md similarity index 72% rename from CHANGELOG.md rename to RELEASENOTES.md index 6195996..d5950f2 100644 --- a/CHANGELOG.md +++ b/RELEASENOTES.md @@ -20,4 +20,9 @@ --> # Release Notes - +### 0.2.2 (Sept 25, 2013) +* CB-4889 bumping&resetting version +* CB-4889 renaming org.apache.cordova.core.splashscreen to org.apache.cordova.splashscreen +* Rename CHANGELOG.md -> RELEASENOTES.md +* [CB-4806] Update splashscreen image bounds for iOS 7 +* [CB-4752] Incremented plugin version on dev branch. diff --git a/plugin.xml b/plugin.xml index 8ed52eb..8678830 100644 --- a/plugin.xml +++ b/plugin.xml @@ -1,8 +1,8 @@ + id="org.apache.cordova.splashscreen" + version="0.2.2"> Splashscreen Cordova Splashscreen Plugin Apache 2.0 diff --git a/src/ios/CDVSplashScreen.m b/src/ios/CDVSplashScreen.m index ba8d108..8159ce1 100644 --- a/src/ios/CDVSplashScreen.m +++ b/src/ios/CDVSplashScreen.m @@ -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;