版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/saw471/article/details/83218738
// tableview 加载完成可以调用的方法
-(void) tableView:(UITableView *)tableView willDisplayCell:(UITableViewCell *)cell forRowAtIndexPath:(NSIndexPath *)indexPath
{
if([indexPath row] == ((NSIndexPath*)[[tableView indexPathsForVisibleRows]lastObject]).row){
//end of loading
dispatch_async(dispatch_get_main_queue(), ^{
//
//
//
// self.detailListView.frame
// = CGRectMake(self.detailListView.frame.origin.x,self.detailListView.frame.origin.y,MAIN_WIDTH,
// tableView.contentSize.height);
// [tableView reloadData];
});
}
}