I am trying to put a UITabBar on a Rootviewcontroller.xib to a Navigation based Application. I know that we used navigation based applicaitons for Tableviews and by default thos
This is how your Xib should look. Tab Bar controller is parent Controller.. Navigation controller shown in the image i.e. "First" will be just for the first Tab .. if you need the Navigation controller for the "Second" tab, you have to add one more Navigation controller.
Adding Tabbar controller with navigation controller in the order shown in the image.
If I am reading your correctly, I think that you're thinking of it in the wrong way.
From what I'm reading you're trying to have:
UINavigationController -> "Tab Bar Controller (as the root to the stack)" -> UITableViewController (as the Tab Bar Controller's selected view)
Then, whenever a user selects a cell in the table you push a new view view into the UINavigationController while keeping the tab bar shown.
If this is right, then the solution is to rework your view controllers.
What you want is a UITabBarController -> UINavigationController (as the view for the selected UITabBarItem) which holds a UITableViewController (or UIViewController with a UITableView) for your main view.
This way whenever you select an item within the table, you push it into the parent UINavigationController stack, and the UITabBar at the bottom will remain.
If you need an example, I'd be glad to try and help, too.