@3x images incorrectly used on iPhone 6 or 5S or 5 in XIB's with the “Use as Launch Image” option set

Originator:oliverpearmain
Number:rdar://18513968 Date Originated:10/01/2014
Status: Resolved:
Product: Product Version:
Classification: Reproducible:
 
Summary:
When using images that are NOT part of a image asset catalog in a XIB marked as "Use as Launch Screen" the @3x image is used  on iPhone 5, iPhone 6, iPhone 6+ instead of the expected @2x image.

Steps to Reproduce:
With-in a clean brand new iOS project:

 - add 2 images DIRECTLY to the project "background@2x.png" and "background@3x.png" (note do not add to an Image xcasset catalog)
 - add a XIB named "LaunchScreen.xib"
 - check the XIB's "Use as Launch Screen" option
 - add a UIView sub-view to LaunchScreen.xib and set its image name to "background.png"
 - with-in the project settings, under the targets 'General' settings set the 'Launch Screen file' to "LaunchScreen"

Now when launching the app on any of the devices listed below the @3x image is displayed in the resulting launch screen when  the @2x image should be used.

    iPhone 5 (iOS 8.0.0)
    iPhone 6 (iOS 8.0.0)
    iPhone 6 (iOS 8.0.2)
    iPhone 5 Simulator (iOS 8.0.0)
    iPhone 6 Simulator (iOS 8.0.0)




Expected Results:
@2x image should be used instead of @3x image

Actual Results:
@3x image is seen

Version:
iOS 8.0, iOS 8.0.2

Notes:


Configuration:
 iPhone 5, iPhone 6

Attachments:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!