Compiling the same Xcode project for iPhone and iPad with different xib files
I woul开发者_如何学God like to know if it's possible to compile the same Xcode project for both iPhone and iPad, automatically changing the xib file according to the platform. The project will contain both xib files. If this is possible, how can be done?
Thanks
You can create Universal application which contains both kind of application supporting.
Create new Xcode project > Window based application in that select Universal from drop down menu.
it will provide you two different files one for iphone and another for ipad.
and check this link to know every thing about you question.
精彩评论