刷新视图控制器在表底部在ios
答
试试这个 -
- (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
}
...
}
我真的不得到你的意思。也许重写你的问题? – TMob
请编辑您的问题,以便清楚问题是什么。 –
什么是刷新控制器? :o –