Home:ALL Converter>Xamarin iOS Launch Screen Image In Storyboard Not Pulling From Asset Catalog

Xamarin iOS Launch Screen Image In Storyboard Not Pulling From Asset Catalog

Ask Time:2017-06-09T00:32:47         Author:Tony Lugg

Json Formatter

I'm using Visual Studio 2017 and the latest Xamarin iOS 10.10.0.30. I've tried following the documentation for creating a launch screen storyboard. I created all the launch screen images add added them in the Media tool under Asset Catalogs (both AppIcons and LaunchImages).

I'd prefer to just use these static images instead of creating a storyboard, but that doesn't seem to be an option. So, when creating the view for Resources\LaunchScreen.storyboard, I add an Image View and go to properties and to the Image drop down. The images in the asset catalog are not listed in the drop down, but the Xamarin images in the Resources folder are listed. Something does not make sense.

Can we not use the LaunchImages from the asset catalog in Visual Studio? If we have to use a storyboard, how do we get it to select the right image for the device it is starting on?

Author:Tony Lugg,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/44441181/xamarin-ios-launch-screen-image-in-storyboard-not-pulling-from-asset-catalog
Tony Lugg :

It seems I am able to use the asset catalog launch images if I edit the info.plist in an XML editor and remove the UILaunchStoryboardName key. When I open it in the Manifest Editor it still says LaunchScreen....not sure what is with these settings.",
2017-06-08T19:00:59
yy