Convert iPad application to iPhone?

I read the doc about universal app and I read how to convert iphone app to ipad, but can I convert ipad app to iphone app?

Is there a tutorial for a universal app?

+2
source share
2 answers

Yes .

in Xcode, select your application and select "Universal" from the device family and presto, your application is now universal.

+6
source

Nils , XIB, . , .

if ( UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad )
    /*  do something for the iPad  */
else
    /*  do something for the iPhone  */

( Google): http://blog.corywiles.com/creating-a-universal-ios-app-tutorial

+6

All Articles