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] [Updated] (CB-863) Splash screen on iOS not using localized UILaunchImageFile value
Date Tue, 05 Jun 2012 13:13:23 GMT

     [ https://issues.apache.org/jira/browse/CB-863?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Sijmen Mulder updated CB-863:
-----------------------------

    Description: 
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.

On the iPhone, the {{UILaunchImageFile}} value isn’t used at all.

  was:
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}

    
> 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
>         Attachments: CB-863.diff
>
>
> 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.
> On the iPhone, the {{UILaunchImageFile}} value isn’t used at all.

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