I\'ve just upgraded to XCode 4.5 GM and found out that you can now apply the \'4\" Retina\' size to your view controller in the storyboard.
Now if I want to create a
+(BOOL)isDeviceiPhone5 { BOOL iPhone5 = FALSE; CGRect screenBounds = [[UIScreen mainScreen] bounds]; if (screenBounds.size.height == 568) { // code for 4-inch screen iPhone5 = TRUE; } else { iPhone5 = FALSE; // code for 3.5-inch screen } return iPhone5; }