Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding launch image using LaunchScreen.storyboard in xamarin.ios

I am working on Xamarin.ios and using visual studio for development. I have added LaunchScreen.Storyboard for displaying launch image as i want to target new iPhoneX device as well. Problem that i am facing currently is, i am not able to see image on either device or simulator for launch image.

  1. I cannot use LaunchImage.launchimage assets image approach as there is no placeholder available for iPhoneX for adding image in xamarin.

  2. I have tried adding images in Images.xcassets folder and accessing it in storyboard. However, its just displays blank screen.

  3. Also tried editing contents.json for adding iphoneX launch image, still no success.

Please let me know if anybody has faced same issue and resolved it.

like image 744
DJB Avatar asked Nov 08 '22 12:11

DJB


1 Answers

I was also having the same issue today I have updated visual studio for mac with the latest version 7.4(build 1033).I am able to add the image to assets.xcassets now its working for me.

like image 132
Nawnit Avatar answered Nov 11 '22 09:11

Nawnit