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?
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.