首先呢我有一个 NSArray* list 作为数据源。
执行了下拉刷新的代码
一直到
[tableView reloadData];
[refreshControl endRefreshing];
注意到控制台中打印的 list 数据是更新过的。
系统继续调用了以下两个方法
numberOfSectionsInTableView:
tableView:numberOfRowsInSection:
却怎么也不能更新视图怎么回事呢?
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
已经找到问题所在:
是
而不是
即可