reloadData should be in main thread

reloadData should be called in main thread, so if you call it in work thread, you should call it as follows:

 

 

    dispatch_async(dispatch_get_main_queue(), ^{

        [_tableVC.tableView reloadData];

    });

 

otherwise UI refresh will be delayed, but not realtime.


你可能感兴趣的:(thread)