//监视scrollview是否滚动到底
- (void)scrollViewDidScroll:(UIScrollView *)scrollView{
[refreshHeaderViewegoRefreshScrollViewDidScroll:scrollView];//下拉刷新
CGPoint contentOffsetPoint = _tableView.contentOffset;
CGRect frame = _tableView.frame;
if (contentOffsetPoint.y == _tableView.contentSize.height - frame.size.height || _tableView.contentSize.height < frame.size.height)
{
NSLog(@"scroll to the end");
self.btnLoad.hidden = NO;
}
}