当你调用[table reloadData];方法是否简单地回想起用于最初构建表格视图的两种方法:重新加载UITableView
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
return tableLength;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
return cell;
}
很简短的回答:是的,这是应该发生的。 – 2011-02-24 23:58:21
详细解释问题 – devsri 2011-02-25 11:05:47