I have an iPhone app that I’d like to convert to an iPad app. To do so, I “Upgrade(d) Current Target for iPad”, and then I got a new xib, “MainWindow-iPad.xib”. I was building to iPhone/iPad, and correctly had the iPad main window xib set in info.plist. However, when I opened the MainWindow-iPad xib, I was presented with an iPhone-sized window, instead of an iPad-sized window as I expected. Is there something I need to do after upgrading to change the xib, or do I need to resize views somewhere? Because when I run the app, it seems as if XCode is trying to run an iPad view with an iPhone-sized xib.
Thanks for any help in advance.
I think there’s a bug in the “Upgrade Current Target for iPad” task.
I fixed this issue by creating a new “Window XIB” with iPad as the product, then replacing the Window object in MainWindow-iPad.xib with the Window object in the new XIB. (Be sure to update the “window” outlet of your app delegate.)