Is there any way to detect, whether it is iPhone 5, iPhone 6 or iPhone 6+?
Earlier I did it based on resolution:
if ([[UIScreen mainScreen] bounds].size == 568)
NSLog(@"4 inch");
else
NSLog(@"3.5 inch");
But now all the resolutions (4, 4.7, 5.5) give me the same 568 height. So what am I supposed to do?