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];
}
}
}

你可能感兴趣的:(load)