incubator-callback-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sijmen Mulder (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CB-863) Splash screen on iOS not using localized UILaunchImageFile value
Date Tue, 05 Jun 2012 10:00:23 GMT
Sijmen Mulder created CB-863:
--------------------------------

             Summary: Splash screen on iOS not using localized UILaunchImageFile value
                 Key: CB-863
                 URL: https://issues.apache.org/jira/browse/CB-863
             Project: Apache Cordova
          Issue Type: Bug
         Environment: iOS
            Reporter: Sijmen Mulder
            Priority: Minor


While {{CDVViewController}}’s {{showSplashScreen}} uses the value of UILaunchImageFile to
locate the splash image, it does not use the localized value, while the OS itself does. This
means the incorrect splash screen can be shown.

Fix in {{CDVViewController showSplashScreen}}:
{code}
-    NSString* launchImageFile = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"UILaunchImageFile"];
+    NSString* launchImageFile = [[[NSBundle mainBundle] localizedInfoDictionary] objectForKey:@"UILaunchImageFile"];
{code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

Mime
View raw message