tableview局部刷新
文章目录
今天项目遇到一个tb局部刷新的功能,以前没用过这个,记录下来供学习。
NSIndexPath *path = [NSIndexPath indexPathForRow:0 inSection:0];
[_tableView reloadRowsAtIndexPaths:[NSArray arrayWithObject:path] withRowAnimation:UITableViewRowAnimationBottom]; //对tableview局部进行刷新
评论
登录后参与技术讨论,分享你的经验与见解。
登录 / 注册暂无评论