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

posted @ 2015-07-16 16:42  qike  阅读(161)  评论(0编辑  收藏  举报