Refresh the tableView when clicking on the tabBar
iphone, objective-c, reload, uitabbarcontroller, uitableview
Solution
In your `UITableViewController` class, implement the `viewWillAppear` method and call `reloadData` from there.
Problem
I want simply to refresh my tableView (on the iPhone) when I click on the related button in the tabBar... So, I think this has to be done this way : ``` [self.tableView reloadData]; ``` Right ? And done in the ``` (void)tabBarController:(UITabBarController *)tabBarController didSelectViewController:(UIViewController *)viewController ``` But I don't know how can I send the message reloadData to the tableView from the tabBar controller... Could you help me please ?