You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by sh...@apache.org on 2014/03/20 02:28:52 UTC
git commit: CB-4051 - Re-fix - Splashscreen rotation problem (closes
#13)
Repository: cordova-plugin-splashscreen
Updated Branches:
refs/heads/dev a10d8f8ca -> e3e399676
CB-4051 - Re-fix - Splashscreen rotation problem (closes #13)
Project: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/commit/e3e39967
Tree: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/tree/e3e39967
Diff: http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/diff/e3e39967
Branch: refs/heads/dev
Commit: e3e39967660c5715da2838f434bba288776ae358
Parents: a10d8f8
Author: Shazron Abdullah <sh...@apache.org>
Authored: Wed Mar 19 18:28:52 2014 -0700
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Wed Mar 19 18:28:52 2014 -0700
----------------------------------------------------------------------
src/ios/CDVSplashScreen.m | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/cordova-plugin-splashscreen/blob/e3e39967/src/ios/CDVSplashScreen.m
----------------------------------------------------------------------
diff --git a/src/ios/CDVSplashScreen.m b/src/ios/CDVSplashScreen.m
index 093fc87..fdfc4c4 100644
--- a/src/ios/CDVSplashScreen.m
+++ b/src/ios/CDVSplashScreen.m
@@ -138,7 +138,7 @@
if (CDV_IsIPhone5()) {
imageName = [imageName stringByAppendingString:@"-568h"];
- } else if (CDV_IsIPad() || isOrientationLocked) {
+ } else if (CDV_IsIPad() && isOrientationLocked) {
switch (orientation) {
case UIInterfaceOrientationLandscapeLeft:
case UIInterfaceOrientationLandscapeRight: