开发者

Creating a new Xcode 4 project targeted to iPad only

开发者 https://www.devze.com 2023-02-22 19:41 出处:网络
I\'m attempting to create a new iPad project for an app I\'m working on, prior to version 4 of Xcode you could select in the new project assistant what device family you are targeting.In Xcode this ap

I'm attempting to create a new iPad project for an app I'm working on, prior to version 4 of Xcode you could select in the new project assistant what device family you are targeting. In Xcode this appears to have been removed and all I can create is an iPhone project. I can go to the project info and cha开发者_如何学编程nge the device to iPad, and Xcode converts it, but how do I just create an iPad project ?


It depends on your application template. Some (Tab Bar, Navigation) are tied to iPhone devices only, some such as Split View are tied to iPad devices only, while the "Window based" template allows you to pick iPhone, iPad, Universal.


Select the type under new project, and press next. Under device family you choose iPad.


You can set this in the target. Look at the screenshot:

Creating a new Xcode 4 project targeted to iPad only

The Devices dropdown allows you to select

  • iPhone
  • iPad
  • Universal
0

精彩评论

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

关注公众号