I 've just created a simple iOS 7 app using the default Master Details template.
In the MasterViewController.m
, viewDidAppear
method, I logged for
self.navigationController.navigationBar.frame.size.height
self.navigationController.navigationBar.frame.origin.y
and received 44 and 20 accordingly. This seems weird, because from what I read, the Navigation Bar in iOS 7 should be 64 point height and start at 0 point, so that it sits underneath the Status bar. What I read are
Because the status bar is transparent, the view behind it shows through
2) Using Background Image in Navigation Bar
If your app uses a custom image as the background of the bar, you’ll need to provide a “taller” image so that it extends up behind the status bar. The height of navigation bar is changed from 44 points (88 pixels) to 64 points (128 pixels).