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

Popular posts from this blog

qt - switch/case statement in C++ with a QString type -

python - sqlite3.OperationalError: near "REFERENCES": syntax error - foreign key creating -

Python's equivalent for Ruby's define_method? -