tab bar
The tab bar allows people to switch between different subtasks, views, or modes of an app.
API NOTE
The tab bar is included within the tab bar Controller, which manages the display of a range of custom views. Check tab bar controllers and Uitabbar to learn more about defining the contents of the tab bar in your code.
A tab bar:
- It's translucent.
- Always appears at the bottom edge of the screen
- Display up to five tabs at a time in a vertically compact environment (if there are more tabs, the tab bar displays four of them, and a "more" tab is added to show the rest of the labels in a list)
- Keep the same height in all directions
- You can display a tag on the label to convey the app-specific information (the tag is a red ellipse that contains white text or a number or an exclamation point)
Use the tab bar to link users to different facets of the same data or to different subtasks related to the overall app functionality.
in general, use the tab bar to manage information at the app level. The tab bar is ideal for use in the app's main view, as this is a great way to reduce your level of information and provide links to categories or patterns of information at different peer levels.
do not use the tab bar to manipulate the current screen's elements or app mode controls. If you need to provide controls, including controls that display modal views, use the toolbar (see toolbar for usage guidelines).
do not remove tags when the label function is not available. If you remove the label in some cases and other circumstances do not remove it, the back causes your appui to be unstable and unpredictable. The best solution is to make sure that all the tags are optional, but to explain why the contents of a label are not accessible. For example, if the user does not have any songs on the iOS device, the Music app's song tag will show an interface explaining how to download the song.
in a vertical general environment, you may use a tab bar in the second interface of the pop-up view or the split view. This is done if the label toggles or filters the contents of that view. However, it is often better to use column controls in the popup and delimited interfaces, because the appearance of the column controls is better than the appearance of those UI elements. (View segmented control to get more information on using the column controls.) )
Avoid too many tab bars causing congestion. Placing too many tabs in the tab bar will make it difficult for people to click on the one they want. And as you display more than one tag, you increase the complexity of your app.
avoid creating a "more" label in a vertical general environment. In a vertical general environment running apps, the screen specifically displays an additional list of tags that is a pathetic space to use.
as much as possible, the same label is displayed in each direction. It is best to give the user a sense of visual unity by providing the same label in all directions. In a vertical general environment, you may need to center the same label in a vertically compact environment.
tab bar icon
iOS provides the standard icons that are used in the tab bar as described in table 41-2. View Bar Button icons Learn how to design a custom tab bar icon. The tab bar icon can be shaded with the Tintcolor property.
View the Uibarbuttonsystemitem document in Uibarbuttonitem Class reference to find the button description for the symbol name.
IMPORTANTFor all standard buttons and icons, it is necessary to use a button based on its meaning rather than the appearance. This will help your app's UI make sense even when a button with a meaning changes its appearance.
Table 41-2 Standard buttons for the tab bar to use
This article is translated from the official Apple development document to view the integration set: Https://github.com/Cloudox/iOS-Human-Interface-Guidelines All rights reserved: Http://blog.csdn.net/cloudox_
IMPORTANTFor all standard buttons and icons, it is necessary to use a button based on its meaning rather than the appearance. This will help your app's UI make sense even when a button with a meaning changes its appearance.
"IOS Human Interface Guidelines"--tab Bar