I am using Xcode 7.3 and have tried all the ways for setting the launch images,
- one way I tried is creating a launch image in assets.xcassets and assigning the appropriate images.
- second way I followed the link below,
How do I create launch images for iPhone 6 / 6 Plus Landscape Only Apps?
By following the above link, I am able to set the launch image either portrait or landscape but not both.
Is there any possible way to set a launch image in both portrait and landscape for iPhone devices lesser than iPhone 6 plus?
Are you using storyBoard??.. If you are using story then follow below steps:
1: first add launch screen Click command+n choose LaunchScreen and add.
2: Register the LaunchScreen.open info.plist follow this tutorials [https://useyourloaf.com/blog/using-a-launch-screen-storyboard/][1]
3:drag imageview on the launch screen and choose size class regular width and regular height then add leading, traling top and bottom constraint 0