必须显示块引用 如何在表的末尾设置iOS中刷新控制器的位置。 上次数据刷新后
控制器
答案 0 :(得分:0)
试试这个 -
- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section
{
return arrData.count;
}
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
...
if (arrData.count==indexPath.row+1) {
//call reload method & reload tableView
}
...
}