It works like this:
A segmented control is a horizontally aligned set of segments, containing 2-5 buttons, that act as filters on a set of data by selecting them.
When a user taps a button…
… the tapped button remains highlighted and…
… the data corresponding to the segment is displayed
Segmented controls can be used when you want to show or hide particular data without changing the current view. It works as a filter on a set of data.
If the control doesn't work on the same set of data, you could consider using a tab bar. When content covers a certain item, but has to be divided into different subjects, you should use module tabs.
- Handy way to handle vast amounts of data that is similar
- Hard to compare 2 items from different segments (Zheng Xin)
- can\'t work well with more than 4 buttons (littlekok)