我有两个不同的视图需要在 UICollectionView 中实现。我的问题是如何使用情节提要向 UICollectionView 添加两个 UICollectionReusableView ?
例如,我可以将其添加为源代码:
[self.collectionView registerClass:[HeaderView class] forSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"HeaderView"];
并且在故事板中还有另一个标题,
但是如何将两个 UICollectionReusableView 添加到情节提要并配置它们。