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 2012/06/29 19:55:37 UTC

[4/4] ios commit: localizedInfoDictionary returns only localized keys, use objectForInfoDictionaryKey instead

localizedInfoDictionary returns only localized keys, use objectForInfoDictionaryKey instead

Signed-off-by: Shazron Abdullah <sh...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/commit/22cd6c06
Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/22cd6c06
Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/22cd6c06

Branch: refs/heads/master
Commit: 22cd6c060e0bd166edd8e2a6840b17c4f535c825
Parents: 53fe852
Author: Sijmen Mulder <sj...@gmail.com>
Authored: Wed Jun 6 14:55:55 2012 +0200
Committer: Shazron Abdullah <sh...@apache.org>
Committed: Fri Jun 29 10:24:49 2012 -0700

----------------------------------------------------------------------
 CordovaLib/Classes/CDVViewController.m |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/blob/22cd6c06/CordovaLib/Classes/CDVViewController.m
----------------------------------------------------------------------
diff --git a/CordovaLib/Classes/CDVViewController.m b/CordovaLib/Classes/CDVViewController.m
index 848e692..2b80027 100644
--- a/CordovaLib/Classes/CDVViewController.m
+++ b/CordovaLib/Classes/CDVViewController.m
@@ -645,7 +645,7 @@
 
 - (void) showSplashScreen
 {
-    NSString* launchImageFile = [[[NSBundle mainBundle] localizedInfoDictionary] objectForKey:@"UILaunchImageFile"];
+    NSString* launchImageFile = [[NSBundle mainBundle] objectForInfoDictionaryKey:@"UILaunchImageFile"];
     if (launchImageFile == nil) { // fallback if no launch image was specified
         launchImageFile = @"Default"; 
     }