I have a UITableViewController hosted in a NavigationController which is in a Tab.
I wish to have a UISegmentedControl float over the table so that as the table scrolls, the UISegmentedControl is visible.
To what subview do I add the UISegmentedControl?
Try adding your
UISegmentedControllerto yourUINavigationControlleras aUIBarButtonItemwith something along the lines of:— if you want to have the
UISegmentedControllerfloat on top of your table (obscuring it) you should add a transparent UIView that sits above theUITableViewand stick it in there. But that’s probably not what you want.