|
|
@@ -134,6 +134,17 @@ - (void)endRefreshing
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+- (void)noticeNoMoreData
|
|
|
+{
|
|
|
+ if ([self.scrollView isKindOfClass:[UICollectionView class]]) {
|
|
|
+ dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(0.1 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
|
|
|
+ [super noticeNoMoreData];
|
|
|
+ });
|
|
|
+ } else {
|
|
|
+ [super noticeNoMoreData];
|
|
|
+ }
|
|
|
+}
|
|
|
+
|
|
|
#pragma mark - 私有方法
|
|
|
#pragma mark 获得scrollView的内容 超出 view 的高度
|
|
|
- (CGFloat)heightForContentBreakView
|