It comes back because your xib size is 4-inch full-screen Retina mode. That's why. Therefore, if you really want to, change it in the xib file to either Free Form or None .
Please try to see how it is ... Definitely, it will print according to your screen.
NSLog(@"%f",[[UIScreen mainScreen ] bounds].size.height);
source share