Bug 60407 - iphone launch image incorrect when using a storyboard with an image
Summary: iphone launch image incorrect when using a storyboard with an image
Status: RESOLVED INVALID
Alias: None
Product: iOS
Classification: Xamarin
Component: Tools ()
Version: XI 11.4 (d15-5)
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2017-10-27 05:36 UTC by softlion
Modified: 2017-10-27 06:08 UTC (History)
1 user (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community or GitHub with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED INVALID

Description softlion 2017-10-27 05:36:37 UTC
Hi mates,
When using a launchscreen storyboard as the "iphone launch images":

- In the property window, the "source" still shows "Migrate to asset catalog" and empty/black launch images (don't know where the compiler found them) are still included in the final ipa (when build for archiving).

- if the storyboard contains only one centered image, sometimes - well currently 5 times in a row - the app displays the storyboard when launched, but with a black rectangle instead of the image. I've checked that the image is in the generated IPA. Maybe it must be aligned or something like that ? I've this this happen in both simulator builds and appstore builds.
Currently i'm trying to create a working appstore build (ie: with a working launchscreen) and i lost all my time. I tryed to delete bin/obj folders, clean, rebuild, ...

I will try to switch from PNG to JPG, but i'm lost ...
It's quite urgent as i need to push an important update for a customer.
Comment 1 softlion 2017-10-27 05:38:00 UTC
I wanna add that this "bug" is very old, as i saw it 3 years ago. But it is intermittent so hard to understand.
Comment 2 softlion 2017-10-27 06:08:43 UTC
https://stackoverflow.com/questions/32579150/uiimageview-missing-images-in-launch-screen-on-device

=> uncheck "clears graphics context" on UIImageView in storyboard
=> delete app
=> reboot phone to "uncache" the launch image
=> reinstall app

Works fine.