I hava a tableview,and I will updata the data in the tableview.it receive datas every one second,when the data is received,it will replace the old data in one row.
I do like this:
when the data is received,i call
[m_tableView reloadData];
so,it will call
-(UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath{ }
so i will change the specific row data in this method,but how can i set the row index?
Have you tried
Swift
This will allow you to reload a single row.
The
reloadDatamethod reloads the whole table