cell是否到最后一行

来源:互联网 发布:公务员取消编制知乎 编辑:程序博客网 时间:2024/05/22 09:01
-(void) tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath{    if([indexPath row] == ((NSIndexPath*)[[tableView indexPathsForVisibleRows] lastObject]).row){//end of loading//for example [activityIndicator stopAnimating];    }}
0 0
原创粉丝点击