UITableView重新加载部分 [英] UITableView reload section

查看:72
本文介绍了UITableView重新加载部分的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我只想重新加载一个部分而不是整个表. UITableView中有什么方法.

I want to reload only one section not the full table. Is there any method in UITableView.

[tableView reloadData]用于加载整个表.
我想知道如何只加载一个部分,因为表中有很多行.

[tableView reloadData] is used to load full table.
I want to know how to load only one section, as I have large number of rows in the table.

推荐答案

是的,有:

- (void)reloadSections:(NSIndexSet *)sections withRowAnimation:(UITableViewRowAnimation)animation

这篇关于UITableView重新加载部分的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆