I am using Xcode 6, and am trying to update my view for ios 8 and iphone 6, the problem is
some of my views are displayed on the screen based on screen height and width calculations
The problem is when i run this command on my app
(lldb) po [UIScreen mainScreen]
I get <UIScreen: 0x7fc533413430; bounds = {{0, 0}, {320, 568}}; mode = <UIScreenMode: 0x7fc533413af0; size = 640.000000 x 1136.000000>>
when in reality i am testing it on iphone 6, and expect the height to be 667
why am I getting the wrong height ?