首页 > UICollectionViewDataSource 这个数据源方法有什么的用

UICollectionViewDataSource 这个数据源方法有什么的用


这个方法用于实现自定义的header或footer,类似于 UITableView 的

- (nullable UITableViewHeaderFooterView *)headerViewForSection:(NSInteger)section NS_AVAILABLE_IOS(6_0);
- (nullable UITableViewHeaderFooterView *)footerViewForSection:(NSInteger)section NS_AVAILABLE_IOS(6_0);
【热门文章】
【热门文章】