Both the header and the segmented control are UITableView
Header's and the content below the segmented control belongs in a UITableViewCell
The header (above the UISegmentedControl
) is in a UITableView
section that doesn't have any rows (but it does have a header).
The UISegmentedControl
is the header of a UITableView
section that has 1 row - the content that you see and a header - the UISegmentedControl