Use localized UILaunchImageFile Signed-off-by: Shazron Abdullah <shaz...@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/5412e6a6 Tree: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/tree/5412e6a6 Diff: http://git-wip-us.apache.org/repos/asf/incubator-cordova-ios/diff/5412e6a6 Branch: refs/heads/master Commit: 5412e6a69014bb67ba00817f243bfb9f7f23f0a7 Parents: 8afd19c Author: Sijmen Mulder <sjmul...@gmail.com> Authored: Tue Jun 5 12:42:18 2012 +0200 Committer: Shazron Abdullah <shaz...@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/5412e6a6/CordovaLib/Classes/CDVViewController.m ---------------------------------------------------------------------- diff --git a/CordovaLib/Classes/CDVViewController.m b/CordovaLib/Classes/CDVViewController.m index 2b78291..3a307e9 100644 --- a/CordovaLib/Classes/CDVViewController.m +++ b/CordovaLib/Classes/CDVViewController.m @@ -645,7 +645,7 @@ - (void) showSplashScreen { - NSString* launchImageFile = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"UILaunchImageFile"]; + NSString* launchImageFile = [[[NSBundle mainBundle] localizedInfoDictionary] objectForKey:@"UILaunchImageFile"]; if (launchImageFile == nil) { // fallback if no launch image was specified launchImageFile = @"Default"; }
