Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set different Launch File (xib, not launch image) for different device for iOS application

I have developed an iOS app which now I'm trying to update giving it iPad and iPhone support. I want to make the difference Launch File(made in xib file)for iPad and iPhone.

I know there are lots of posts talking about how to handle initial view of different device,but the Launch xib can't initial programmatically. So how can I set up project setting for difference device choosing difference Launch file(not image)

XCode setting place

thanks a lot

like image 585
Gary nil Avatar asked Sep 14 '14 10:09

Gary nil


1 Answers

Yes!!! is the way dadederk said:

add in info.plist

UILaunchStoryboardName UILaunchStoryboardName~ipad

like image 69
Gary nil Avatar answered Oct 12 '22 02:10

Gary nil