Its easy to check whether device is iPhone 5 or iPhone, by checking its height, as given below
if([UIScreen mainScreen].bounds.size.height == 568){
// iPhone 5
} else{
// Regular iPhone
}
However, I want to know, after coming in else body 480 height , I want to check whether its iPhone or iPhone retina?
How can do that?
My main target is to set navigation, as given in my another question
Thanks