For my Xamarin.iOS
project I am using LaunchScreen.Storynboard
for showing launch screen. For adding images, I am using asset catalog. My application supports both orientations on iPad. However, when I open imageset in visual studio it shows only one @2x image for iPad which will be occupied by Portrait image. Now, for adding landscape image I have edited its Contents.Json
file and added image details there. added image locally and also added its entry in projects .csproject
file.
However, when I build and run application its only picking one image and applying it to both the orientations.
e.g. Its picking landscape image and applying it in both landscape and portrait launch screen image. Now, in portrait mode image is showing vertically stretched.
which is causing UI issue.
How to set image for both the orientations in visual studio xcassets imageset?
Any suggestion would be appreciated.
Thank You.