Changing size of MainWindow.xib's Window
Is there a way to change the dimensions of the main window in Xcode, the Window
object stored in the MainWindow.xib
from an iphone size to an iPad size? Other dimensions are editable of other nib file objects, like views, etc, but the main Window appears to not be.
If it cannot be changed, then I guess I would ne开发者_开发知识库ed to create a new nib window nib file for the iPad device family, and then manually add the viewcontroller and other information into it, is this the only option?
You could just right click on the target and select Duplicate. A dialog box will show up, select Duplicate and Transition to iPad. Then all you need to do is select which scheme you want to build for, iPad or iPhone. This way Xcode will duplicate all the needed xib files in your project and you will not have to manually add the needed view controllers.
To choose the scheme, select the left side of the bar that says iPhone 4.3 Simulator. Select the one with copy at the end and you should be good to go.
精彩评论