Compare commits

...

9 Commits
0.2.0 ... 0.2.2

Author SHA1 Message Date
Steven Gill
10e7e9a1d5 Merge branch 'dev' 2013-09-25 18:19:29 -07:00
Steven Gill
f1aed7d844 [CB-4915] Updated version and RELEASENOTES.md for release 0.2.2 2013-09-25 17:56:18 -07:00
Anis Kadri
87a701004d CB-4889 bumping&resetting version 2013-09-25 17:50:50 +02:00
Anis Kadri
4ce42a0c99 CB-4889 renaming org.apache.cordova.core.splashscreen to org.apache.cordova.splashscreen 2013-09-21 12:38:51 +02:00
Andrew Grieve
d937fcb43b Rename CHANGELOG.md -> RELEASENOTES.md 2013-09-17 11:36:13 -04:00
Shazron Abdullah
4275e57a73 Revert "[CB-4806] Update splashscreen image bounds for iOS 7"
This reverts commit 96d5875dc3.
2013-09-16 17:27:09 -07:00
Shazron Abdullah
1111c8b3b9 [CB-4806] Update splashscreen image bounds for iOS 7 2013-09-16 17:26:48 -07:00
Shazron Abdullah
96d5875dc3 [CB-4806] Update splashscreen image bounds for iOS 7 2013-09-13 15:58:36 -07:00
Andrew Grieve
5f83eda5e8 [CB-4752] Incremented plugin version on dev branch. 2013-09-06 00:58:22 -04:00
3 changed files with 11 additions and 3 deletions

View File

@@ -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.

View File

@@ -1,8 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<plugin xmlns="http://apache.org/cordova/ns/plugins/1.0"
id="org.apache.cordova.core.splashscreen"
version="0.2.0">
id="org.apache.cordova.splashscreen"
version="0.2.2">
<name>Splashscreen</name>
<description>Cordova Splashscreen Plugin</description>
<license>Apache 2.0</license>

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;