I want to create navigation bar for my table view controller class programmatically would you please help me? I couldn\'t fix it!
Thanks in advance! I\'m really new to i
You dont create a navigation bar for a table view controller, what you should do is create a navigation controller and set the table view controller as its root
UITableViewController *myTableViewController = [[UITableViewController alloc] initWithStyle:UITableViewStylePlain];
UINavigationController *tableViewNavigationController = [[UINavigationController alloc] initWithRootViewController:myTableViewController];
//use the navigation controller here instead of how you had used the table view controller