universal application in Iphone -


In order to convert applications to universal applications, I have to do design changes in xib files

One way to do this:

Go to Project-> Summary (in xcode4), set "Device "From" Universal "

Your Information In the Pleist, define two different .xib, one for iPhone and one for iPad:

    

And join them with your App Rep. The launcher will load the correct xib at startup.

If you are on the iPad, you can use

  to check it (UI_USER_INTERFACE_IDIOM () == UIUserInterfaceIdiomPad) {/ code>  < P> or iPhone   

Comments