Bug 44019 - LaunchImages in Asset Catalog ignored when Launch Storyboard set
Summary: LaunchImages in Asset Catalog ignored when Launch Storyboard set
Status: RESOLVED ANSWERED
Alias: None
Product: iOS
Classification: Xamarin
Component: General ()
Version: XI 9.8 (tvOS / C7)
Hardware: PC Windows
: --- normal
Target Milestone: Untriaged
Assignee: Bugzilla
URL:
Depends on:
Blocks:
 
Reported: 2016-09-06 13:40 UTC by Saskia
Modified: 2016-09-10 02:12 UTC (History)
3 users (show)

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


Attachments
Screenprint info.plist (26.93 KB, image/png)
2016-09-09 06:49 UTC, Saskia
Details


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 ANSWERED

Description Saskia 2016-09-06 13:40:15 UTC
I have used Asset catalogs in my app to set the launch images. 
Under iPhone Launch image, I have selected the Asset catalog.

The launch images from the asset catalog are only used when the property Launch Storyboard is empty and no storyboard present under the Resources folder.

But when I want to upload the ipa file to itunesconnect, I get this error:
Error ITMS-90475: Invalid Bundle. iPad Multitasking support requires launch story board in bundle '<package name>'.

The only way to fix the error is adding the storyboard in the property and in the resources folder.
But then the launch images from the Asset catalog are ignored on all devices.

Kind regards,
Saskia
Comment 1 Vincent Dondain [MSFT] 2016-09-06 17:33:21 UTC
Right, so that all sounds like the expected behavior to me (:

Explanation:
- A launch screen **Storyboard** is required for iPad multitasking (Slide Over and Split View). See: https://developer.apple.com/library/ios/documentation/WindowsViews/Conceptual/AdoptingMultitaskingOniPad/QuickStartForSlideOverAndSplitView.html (hence your error).
- If you use the storyboard launch screen approach, then the launch images (in the Asset Catalog) are naturally **ignored** (because you provide a better launch screen in the form of the storyboard).

Now there is a way for you to explicitly say you don't want to support Slide Over and Split View (therefore not need a LaunchScreen.storyboard and keep using your launch screen images).

To do that simply enable the "Requires full screen" checkbox in your Info.plist.
https://www.dropbox.com/s/msek7w3bpq2v0wa/Screenshot%202016-09-06%2019.27.37.png?dl=0

Cheers,

Vincent.
Comment 2 Saskia 2016-09-09 06:49:17 UTC
Created attachment 17389 [details]
Screenprint info.plist
Comment 3 Saskia 2016-09-09 06:50:30 UTC
Hello Vincent

I'm using Visual Studio 2015 and don't have that option in info.plist (see attachment 17389 [details]).

Kind regards,
Saskia
Comment 4 Brendan Zagaeski (Xamarin Team, assistant) 2016-09-10 02:12:24 UTC
I have now filed a bug for that missing "Requires full screen" setting in Visual Studio as Bug 44163.  I listed a workaround on that bug for how to add the key by hand to the Info.plist file.