I am developing a Window-based application in which, I added tabBarController and have table view to navigate from one table view(RootViewContoller) to another table view(FavoriteViewController).
In this table view(FavoriteViewController), I wanna add a toolBar. please aid me to overcome this problem. Thanks….
If your table views are in a UINavgiationController, you can set the toolbar items on the UITableViewControllers, and then set the Toolbar hidden property to NO on the navigationController:
where
myArrayOfToolbarButtonItemsis anNSArrayofUIBarButtonItem, that have already been set up.(the above code would go in your UITableViewControllers, and you can set different items for different table views that would change automatically when they are pushed)