What you want is actually quite simple ...
You have a UITabBarController with a UINavigationController , which again is like a UIViewController , etc. how is rootcontroller? Then in your loadView / XIB, you simply create a custom UIView with any size, color, etc. Then you attach the UISegmentedControl to this view. And then you have a UITableView located at the bottom of the custom UIView . Its just a linear layout with a vertical orientation.
Then you will have a fixed positional view "above" the UITableView .
And you probably want to use a UIViewController for this if you are wondering if you can use a UITableView ...
source share