1. Status Bar
The one on the top of the mobile phone mainly displays the signal strength, operator, Wi-Fi, current time, and battery power of the mobile phone. When playing music in the background, a playing icon is displayed on the right. If you enable Bluetooth on a device that supports Bluetooth, an icon is displayed.
In addition to the default light blue style, the status bar also has two styles: Black and transparent.
[[Uiappication sharedapplication] setstatusbarstyle: uistatusbarstyleblacktranslucent animated: No];
Change uistatusbarstyleblacktranslucent to uistatusbarstyleblackopaque to see the black status bar.
Hidden Status Bar: [[uiapplication sharedapplication] setstatusbarhidden: Yes];
If you do not want status entries on all pages of the program, you can modify the info. plist file of the program to specify full screen running of the software.
2. navigation bar
In addition to the default blue style, the navigation bar also has a black style. To use the black navigation, you can modify its attributes as follows:
Thenavigationbar. barstyle = uibarstyleblack;
You can also set it to translucent: thenavigationbar. translucent = yes;
3. tool bar
Apple suggests that the size of each button should be no less than 44px × 44px, and there should be a certain interval between the buttons, so it is best not to put more than five tool buttons on a toolbar.
The toolbar also has the same barstyle and translucent attributes as the navigation bar, and can be set with the same syntax.
4. Tab bar
If the number of tabs exceeds 5, four of them and one more button are displayed.