Ah, UISegmentedControl. When horizontal pixels are at a premium, you’re always there to help us maximize the number of similar controls we can display.
There are a few different styles that UISegmentedControl can be displayed in, and the basic idea is that we:
– Use UISegmentedControl to group together buttons that are closely related.
– There are always at least 2 segments in a UISegmentedControl, and at least 1 segment must always be “selected.”
– UISegmentedControl elements are always displayed in a horizontal manner, and are usually used for filtering within a view.