Usally ,tabbar always displays buttom.
like this.
- (BOOL)application:(UIApplication *)application
didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
{
self.window.rootViewController = self.tabBarController;
[self.window makeKeyAndVisible];
return YES;
}
but I want to diplay tabbar on second view (only).
1-2 is connected by navicontroller
2 is @interface TableViewController :UITableViewController
how??
better to add the tab bar controller programmatically in secondviewcontroller viewdidload