I didn't check the Targeted for iPad option when creating a View Controller. How can I fix my UIView to be targeted for iPad devices using XCode 4.2?

后端 未结 2 863
借酒劲吻你
借酒劲吻你 2020-12-19 16:09

I made a mistake when I created one of my UIViewController objects. When I created the files, I forgot to select the Target for iPad option.

<

2条回答
  •  情深已故
    2020-12-19 16:30

    Change it in Build Settings -> Targeted device family OR under Devices in Summary tab.

    You'll find the above in your project's Targets section.

    EDIT: Sorry for the misunderstanding. THIS SO post seems to address your issue.

提交回复
热议问题