Responsive App Design


if( UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad )
{
iPad=TRUE; //global BOOL I'll use often
}

That used to show up in every one of my classes and view controllers. Now, I only use that variable for detecting when to present a popover because those still SEGFAULT iPhones. In all other instances, I now do what we now do on the web to handle different devices and viewports.

if( someView.frame.width > 600 )

And you should too. Maybe the 5″ iPhone will just be lower dpi (what my parents want), maybe it will have more points. The same goes for a 12/13″ iPad. I also don’t use the Universal app template. I use the iPhone template (single ViewController template) then add iPad the to the project, without adding an iPad ViewController, and do most of my layout programmatically and from a number of xibs.