Commit 3cfa7c4fbdc02476b5582334041158b007a1d438

Authored by yanglingyu
1 parent cc65c13b

全部按钮展示时机修复

CNLiveVideoClassifyKit/Classes/SearchView/ViewController/CNWitnessSearchViewController.m
@@ -202,7 +202,7 @@ static NSString *const CNWitnessSearchHeaderViewID = @"CNWitnessSearchHeaderView @@ -202,7 +202,7 @@ static NSString *const CNWitnessSearchHeaderViewID = @"CNWitnessSearchHeaderView
202 202
203 } 203 }
204 - (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout referenceSizeForFooterInSection:(NSInteger)section{ 204 - (CGSize)collectionView:(UICollectionView *)collectionView layout:(UICollectionViewLayout*)collectionViewLayout referenceSizeForFooterInSection:(NSInteger)section{
205 - if (section == 0 && self.histories.count > 3) { 205 + if (section == 0 && self.histories.count > 2) {
206 return CGSizeMake(kScreenWidth - 30, 40); 206 return CGSizeMake(kScreenWidth - 30, 40);
207 } 207 }
208 return CGSizeMake(0, 0); 208 return CGSizeMake(0, 0);