Home:ALL Converter>iOS XCode launch screen storyboard does not display image from asset catalog when running on device

iOS XCode launch screen storyboard does not display image from asset catalog when running on device

Ask Time:2017-10-01T12:05:00         Author:Alex Stone

Json Formatter

I'm running into an issue where an iOS app project using Launch Storyboard does not display some images from the asset catalog. But it can display another image in the same image view. This tells me that the image view is set up correctly, and something is wrong with the image itself

How can I understand why my image is not displayed on launch screen when starting app?

I checked the asset catalog membership, and the images are members of the correct target. The image displays in the interface builder preview.

I checked and images are not displayed when saved in either JPG or PNG format.

The image previews fine on Storyboard preview.

I tried using smaller image, so it doesn't seem to be a file size issue.

Does not work on either device or simulator.

This image displays: enter image description here

This image does not display: enter image description here

Author:Alex Stone,eproduced under the CC 4.0 BY-SA copyright license with a link to the original source and this disclaimer.
Link to original article:https://stackoverflow.com/questions/46509099/ios-xcode-launch-screen-storyboard-does-not-display-image-from-asset-catalog-whe
yy