I created a simple iOS 7 application using the default master data template.
In the method MasterViewController.m , viewDidAppear I recorded for
self.navigationController.navigationBar.frame.size.height self.navigationController.navigationBar.frame.origin.y
and got 44 and 20, respectively. This seems strange, because from what I read, the navigation bar in iOS 7 should be 64-point in height and start at 0 point so that it is under the status bar. What i read
1) iOS 7 UI Upgrade Guide
Since the status bar is transparent, a view behind it shows through
2) Using the background image in the navigation bar
If your application uses a custom image as the background of the panel, youll need to provide a "higher" image so that it expands beyond the status bar. The height of the navigation bar changes from 44 points (88 pixels) to 64 points (128 pixels).
height ios7 statusbar frame navigationbar
onmyway133 Nov 23 '13 at 9:58 a.m. 2013-11-23 09:58
source share