Alex Rivera | Logout

Reload UITableViewController

Asked 2009-04-02T16:58:26.220
20

I'm trying to reload data in a UITableViewController after a location is found. This also means after the viewDidLoad method. My class is extending a UITableViewController with this interface:

@interface RootViewController : UITableViewController <UITableViewDelegate, UITableViewDataSource, CLLocationManagerDelegate>

in the implementation I try to reload data using

[self.view reloadData];

reloadData doesn't seem to be a method of UITableViewController or the view because I get an error:

Messages without a matching method signature will be assumed to return 'id' and accept '...' as arguments

Can someone please post some code of how to reload a table view extended like in my case?

Edit
Report

1 Answer

53

you have to do it on the UITableView over [self.tableView reloadData];

answered 2009-04-02T18:27:33.980

Your Answer