(UICollectionReusableView )collectionView:(UICollectionView )collectionView viewForSupplementaryElementOfKind:(NSString )kind atIndexPath:(NSIndexPath )indexPath;
(UICollectionReusableView )collectionView:(UICollectionView )collectionView viewForSupplementaryElementOfKind:(NSString )kind atIndexPath:(NSIndexPath )indexPath;
1 回答831 阅读
2 回答625 阅读
1 回答611 阅读
2 回答614 阅读
1 回答703 阅读
645 阅读
544 阅读
这个方法用于实现自定义的header或footer,类似于 UITableView 的