I need to create and app which will run on iPhone 4S, 5,5S, 6, 6+ and the deployment target will be iOS 7.1. I saw Apple introduced LauchScreens.xib for creating the launch
I have been playing around Xcode 6 from sometimes now and what I found is LaunchScreen.xib
works for iOS 8
only, so if you want to provides launch image for all your devices, your app supports you can do as below..
For Device using iOS 7 you can do as usual, what we used to do using images.xcassets
For iOS 8 devices you have two ways..
Simply you can use LaunchScreen.xib
.
this image show how Xcode by defaults sets
LaunchScreen.xib
for iOS 8 launch screen file.
LaunchScreen.xib
as launch screen file and want to display some launch image as you want in iOS 7 device, so just remove launch screen file name and make it blank(see below image) and delete LaunchScreen.xib
file from Xcode
. In this case iOS 8 device also takes launch image from launch images from images.xcassets
.