Xamarin iOS launches screen image in storyboard without pulling from asset catalog

I am using Visual Studio 2017 and the latest version of Xamarin iOS 10.10.0.30. I tried following the documentation to create a startup screen storyboard. I created all the images of the launch screen by adding them to the Media tool in the Object Catalogs section (both Applications and LaunchImages).

I would rather just use these static images instead of creating a storyboard, but that doesn't seem like a choice. So, creating a view for the resources \ LaunchScreen.storyboard, I add an Image View and go to the properties, and to the output Image. Images in the asset catalog do not appear in the drop-down list, but Xamarin images in the Resources folder are displayed. Something doesn't make sense.

Is it possible to use LaunchImages from an asset catalog in Visual Studio? If we need to use a storyboard, how do we get it to choose the right image for the device on which it starts?

+4
source share
2 answers

, , info.plist XML UILaunchStoryboardName. , LaunchScreen.... , .

+1

iOS 8, Xamarin.iOS:

- [] , , , . . - [] iOS 7, Assets.xcassets App LaunchImage. , , .

https://developer.xamarin.com/guides/ios/application_fundamentals/working_with_images/deprecated/launch-screens/

-2

Source: https://habr.com/ru/post/1678807/


All Articles