[ https://issues.apache.org/jira/browse/CB-2436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13584705#comment-13584705 ]
Ryan Barber commented on CB-2436: --------------------------------- We're using our own custom named images by setting the 'UILaunchImageFile' key. The -568h image is 640 × 1136, but it's picking the 640 × 960 image. If appears the problem is here: https://github.com/apache/cordova-ios/blob/2.4.0/CordovaLib/Classes/CDVViewController.m#L655 It only picks the -568 image if launchImageFile isn't defined. I think the correct behavour would be to set launchImageFile to 'Default' if UILaunchImageFile isn't defined, and then add the '-568' and '@2x' suffixes depending on which device is being used. I've also noticed upcoming 2.5.0 release doesn't support selecting the image using 'UILaunchImageFile' - Is that by design, or could I submit a patch to have that changed? https://github.com/apache/cordova-ios/blob/2.5.0rc1/CordovaLib/Classes/CDVSplashScreen.m#L97 Thanks, > Wrong splashscreen is displayed when UILaunchImageFile is set > ------------------------------------------------------------- > > Key: CB-2436 > URL: https://issues.apache.org/jira/browse/CB-2436 > Project: Apache Cordova > Issue Type: Bug > Components: iOS > Affects Versions: 2.4.0 > Environment: iPhone 5 > Reporter: Ryan Barber > Assignee: Shazron Abdullah > > When apps start on the iPhone 5, iOS picks <UILaunchImageFile>-568h. When > Cordova starts with AutoHideSplashScreen set to false, Cordova picks > <UILaunchImageFile> to display instead of <UILaunchImageFile>-568h, leaving > blank areas above and below the splashscreen. -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira