羽辰
羽辰
//返回头脚视图 - (UICollectionReusableView *)collectionView:(UICollectionView *)collectionView viewForSupplementaryElementOfKind:(NSString *)kind atIndexPath:(NSIndexPath *)indexPath{ if ([kind isEqualToString:UICollectionElementKindSectionHeader]) { // CollectionHeaderAndFooterView *headerView = [collectionView dequeueReusableSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"sectionHeader" forIndexPath:indexPath]; // headerView.titleLabel.text = @"头视图"; // headerView.titleLabel.backgroundColor = [UIColor orangeColor];...
 我使用过程中遇到了个问题 我在上拉加载更多数据的时候,collectionView是在滑动的,数据返回的时候 reloadData,这里直接return了,布局刷新不了。。。。。