Universal iPad/iPhone XIBs - Xcode 4

前端 未结 6 1008
忘了有多久
忘了有多久 2021-02-06 18:50

I want to make a universal app which has two different XIB files. One for iPhone, and one for iPad. They use the same code, just different UIs. How would I create a \"universal\

6条回答
  •  独厮守ぢ
    2021-02-06 19:43

    You also could use the abilities of xcode 4. There is an option while creating new projects which is called "universal app". Apps based upon this template use the mentioned separation. You get folders for iphone and ipad with views in it.

提交回复
热议问题