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?
you have to do it on the UITableView
over [self.tableView reloadData];
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With