I am tring to get the iphone 6 screen bounds but it give me the iphone 5 frame
NSLog(@"%@",NSStringFromCGRect([UIScreen mainScreen].bounds))
{{0, 0}, {568, 320}}
I am tring to get the iphone 6 screen bounds but it give me the iphone 5 frame
NSLog(@"%@",NSStringFromCGRect([UIScreen mainScreen].bounds))
{{0, 0}, {568, 320}}
I think you have to use [UIScreen mainScreen].nativeBounds
introduced in ios8.