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