Is it possible to use launch image for universal app in imageview of launchsceen.xib or launchscreen.storyboard?

200 Views Asked by At

I have to use launch images in imageview of launch storyboard. But it's not supporting all orientations, and if I do scaleToFill in contentmode of imageview, then the image looks stretched. Can anybody help me?

1

There are 1 best solutions below

2
On BEST ANSWER

If you use LaunchImage directly, then the launch xib's wont load. If you want to load a xib with custom image for different orientation, then you have to add separate images in the asset catalogue.

Select the size classes for the image and use appropriate images.

enter image description here