开发者

Compiling the same Xcode project for iPhone and iPad with different xib files

开发者 https://www.devze.com 2023-01-17 10:26 出处:网络
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 contai

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消