Alex Rivera | Logout

How to Reload a UITableView While I am Looking at It

Asked 2009-03-19T04:10:30.390
30

When I have a UITableView as part of the visible view controller, how can I reload it so that the data I am looking at changes to the new data. Just calling reload doesn't seem to refresh the data until I scroll it.

Edit
Report

1 Answer

20

Just a 2013 update, you should also be able to reload the data, just as long as you use

dispatch_async(dispatch_get_main_queue(), ^{
    [self.tableView reloadData];
});

GCD is awesome!

answered 2013-05-20T20:49:02.017

Your Answer