pull to load more data

if ((scrollView.contentOffset.y + scrollView.frame.size.height) >= scrollView.contentSize.height)
{
if (!self.isLoadingMoreData)
{
self.isLoadingMoreData = YES;
[[self loadMoreTableViewCell] loadMoreLabel].text = @"正在载入";

if([DataUtility isNetworkReachability]) {
[self.refreshControl beginRefreshing];
[self requestNetwork];
} else {
[self showBadNetWorkAlert];
}
}
}

原文地址:https://www.cnblogs.com/qike/p/4651753.html