I have an iPhone app, and I'm trying to change it to a universal app in Xcode 3.2. I just want to create new xib files for the iPad.
So, I just expand Targets, click on "Project \ Upgrade Current Target for iPad" and select "One Universal Application."
I have many xib files in my application and I want to create new iPad xib files for the same controller, for example, I want to target mainpage-iPad.xib to mainpage.m.
In IB for mainpage-iPad.xib, I set the class to "mainpage", which seems to be insufficient, whenever I run the ipad simulator, I always get the view changed as iphone.
Can you point out what I'm doing wrong and suggest the right way to target the xib file to my controllers.
thanks
Ben
source share