在ios中刷新底部表格末尾的视图控制器

在ios中刷新底部表格末尾的视图控制器,ios,objective-c,iphone,uirefreshcontrol,Ios,Objective C,Iphone,Uirefreshcontrol,大宗报价 如何在表的末尾设置iOS中刷新控制器的位置。 上次数据刷新后 必须显示控制器请尝试以下操作- - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section { return arrData.count; } - (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath

大宗报价 如何在表的末尾设置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
    }
    ...
}

我真的不明白你的意思。也许重写您的问题?请编辑您的问题,以便清楚问题是什么。什么是刷新控制器?:O