Implements UISegmentedControl.