tableView 单行刷新

2016-09-26  本文已影响861人  9九9

//刷新一组

NSIndexSet* indexSet = [[NSIndexSetalloc]initWithIndex:1];

[self.myTableViewreloadSections:indexSetwithRowAnimation:UITableViewRowAnimationAutomatic];

//刷新一行

NSIndexPath*indexPath=[NSIndexPathindexPathForRow:1inSection:0];

[self.myTableViewreloadRowsAtIndexPaths:@[indexPath]withRowAnimation:UITableViewRowAnimationNone];

上一篇 下一篇

猜你喜欢

热点阅读