【发布时间】:2014-11-30 03:44:48
【问题描述】:
我有两个不同的视图需要在 UICollectionView 中实现。我的问题是如何使用情节提要向 UICollectionView 添加两个 UICollectionReusableView?
例如我可以将它添加为源代码:
[self.collectionView registerClass:[HeaderView class] forSupplementaryViewOfKind:UICollectionElementKindSectionHeader withReuseIdentifier:@"HeaderView"];
故事板中还有另一个标题,
但是如何将两个 UICollectionReusableView 添加到情节提要并配置它们。
【问题讨论】:
标签: ios uicollectionview uicollectionreusableview