1. Status bar status bar general height of 20 pixels, when you hit the phone or display the message will be magnified to 40 pixels high, note that twice times the height of the status bar as if it can only be used in portrait mode. Such as
Users can hide the status bar, or they can set the status bar to Gray, black, or translucent black. If you need to hide the status bar you can use the call: [[uiapplication sharedapplication] Setstatusbarhidden:yes Animated:no]; Or, set the Uistatusbarhidden key to ture in the application file Info.plist. 2. The navigation bar is 44 pixels high in portrait mode, 32 pixels high in landscape mode, and the navigation bar provides a rarely used hint mode that expands the height of 30 pixels, 320*74 pixels in portrait mode, and 480*74 pixels in landscape mode. To add a hint to the navigation bar, set the Self.navigationItem.prompt = @ "..." .....
3. The Tab toolbar tab is 48 pixels high and the toolbar is 44 pixels high. The length of this two UI element is not used in landscape mode. Typical applications with navigation bars and status bars retain 320*416 areas for portrait display, and 480*268 areas for landscape orientation. If you use the tab bar or toolbar, you will reduce the height by 48 or 44 pixels again. 4. Keyboards and Pickerview This is generally horizontal 320*216 pixels, which are 480*162 pixels in length. In addition, the Uiswitch default is 94*28 pixels, and the Uisegmentedcontrol pass length is 44 pixels high. The Uitextfield height is generally at least 30 pixels. The 5.UIScreen class [[UIScreen Mainscreen] applicationframe] Generally returns the available areas based on the toolbar being used, the status bar, and the navigation bar.
The width and standard of the various common controls under the iphone and ipad are the same, so here's the iphone description.
The following are the height of several common controls. The width of the Statusbar,navigationbar and Tabbar is extremely icon sized.
The following table is a more detailed parameter, including Statusbar,navigationbar, Tabbar, toolbar, keyboard, and so on.
The default height of the iphone controls