Today we will learn how to set different LaunchScreen for iphone and ipad in iOS

Steps:

  1. Create a new Xcode Project (Lets say LaunchScreenDemo).
  2. Now go to File and create  two new file of type LaunchScreen and name it LaunchScreen2~iphone and LaunchScreen2~ipad respectively.

Screen Shot 2016-09-08 at 12.17.57 AM.png

  1. Now go to info.plist and add these xib name their.

Screen Shot 2016-09-08 at 12.58.14 AM.png

  1. now run the project and see the desired output.

Do share and give your feedback. You can download the whole xcode project from here.

Enjoy Coding.

Advertisements