Here’s one way to detect an iPhone 5
CGRect screenBounds = [[UIScreen mainScreen] bounds];
if (screenBounds.size.height == 568) {
NSLog(@"iPhone 5");
}
Here’s one way to detect an iPhone 5
CGRect screenBounds = [[UIScreen mainScreen] bounds];
if (screenBounds.size.height == 568) {
NSLog(@"iPhone 5");
}