Download a different launch screen for iPad / iPhone

I want to download a different screen layout for iPad and iPhone, and for this I add a new entry to info.plist, as shown below

enter image description here

but it only loads the iPhone startup screen.

Any help would be appreciated. thanks in advance.

+9
ios iphone
source share
2 answers

Method 1: For this you need to use two xib. One for the iPad and one for the iPhone. You should call it this way:

iPhone - LaunchScreen2 ~ iphone.xib

iPad - LaunchScreen2 ~ ipad.xib

or

Way2: Open the Info.plist file. Create another entry as UILaunchStoryboardName ~ ipad and set it to your LaunchScreeniPad.xib file.

Go back if you have any difficulties.

+24
source share

You can use one storyboard to download various launch images for iPad and iPhone. In your LaunchScreen.storyboard, go to the ImageView Attributes Inspector, where you set the image. Set the launch image for iPhone in the Image field. Next to the Image box is a plus sign. Click on it and change the Height from Compact to Normal and click Add Variation. Another field is created as wR hR. Add the iPad launch image there. This is it. Now it downloads a startup image based on your device.

enter image description here

+1
source share

All Articles