jjzjj

heightForFooterInSection

全部标签

iphone - 调用方式 - (CGFloat)tableView :(UITableView *)tableView heightForFooterInSection:(NSInteger)section without reloading

我做了:[tableViewsetNeedsLayout]和[tableViewsetNeedsDisplay],但是这不会调用该委托(delegate)。有没有一种方法可以在不重新加载数据的情况下重新布局tableView(即:调用reloadData) 最佳答案 尝试:[tableViewbeginUpdates];//dostuff...[tableViewendUpdates]; 关于iphone-调用方式-(CGFloat)tableView:(UITableView*)tab