One more running time check
In my previous post, I forgot one of the most used, how to know if you are running on an iPad. This is specially important if you want to deploy your app as a single binary. UI_USER_INTERFACE_IDIOM() will return UIUserInterfaceIdiomPhone for the phone and UIUserInterfaceIdiomPad for the iPad.
if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
// perform iPad exclusive code
} else {
// perform code for the phone
}