I have an already running iphone app with target OS 3.1. I am trying to transform it into a universal app.
I am not going to change the model, only the xib.
So I wrote the ipad xib in IB, then I went to info.plist and add MainIpad Nib for ipad pointing to a proper MainIpad.xib.
I also set Target Device Family in project info to ipad/iphone.
That seems to be not enough, whenever I run ipad simulator, I always get the MainIpad.xib view resized as iphone, actually it’s just showing an iphone inside an ipad. I also tried to set the CGRect manually to the ipad size. The result is a bigger view still clipped into an iphone.
Can you point out what I am doing wrong and suggest the proper way to convert in universal app ?
thanks
The proper way? That’s easy. From page 20 of the iPad Programming Guide:
By your problem description, it looks like you tried to migrate the files manually.
My advice to you is: start over using a copy of your project before you started the migration. (You did save a copy of the project before you started the conversion, like a good programmer should do, right?)