Upgrading to the universal iPhone / iPad app does not quite work

I played with an iPhone app upgrade to universal applications using a convenient menu option Refresh the current target for ... the iPad .

Everything seems successful (although it's really hard to say, Xcode just whispers success). So I started changing the MainWindow-iPad.xib file created during the upgrade. And this is when I noticed some kind of weirdness.

The window is the same size as the iPhone, not the iPad. The "split view controller" does not appear in the library. As if xcode still thinks this is an iPhone app. I went into the Goal Information and the project information and installed the Target Device Family for iPhone / iPad, as the Internet told me; I set the orientation flags, just like the internees told me.

When I launch, the buttons do not work, which worked on the iPhone. I am using Xcode 3.2.3.

I would prefer not to understand creating a new project and moving all the code. I noticed that the building for the application store is very fragile and it works for this project, so I do not want to mess with it. I am talking about this, waiting for an answer with this very decision.

I'm sure there are some obscure settings that messed things up, but I'm completely n00b on the iPhone platform, I can't figure it out.

Mention me?

+3
source share
1 answer

Why not create a new iPad xib and rename the key in your info plist for that xib?

alt text http://i29.tinypic.com/157krcm.png

Make sure xib is for iPad.

+4
source

Source: https://habr.com/ru/post/1755791/


All Articles