Ios 带UICollectionReusableView的交错视图

Ios 带UICollectionReusableView的交错视图,ios,swift,iphone,Ios,Swift,Iphone,我使用UICollectionReusableView作为标题,CollectionviewCell作为显示单元。我想在collectionview单元格中设置交错视图 我尝试过使用布局自定义,但此时UICollectionReusableView会自动删除。(将collectionview布局属性布局设置为自定义而不是流) 你能告诉我如何实现上述功能吗 (UICollectionReusableView视图包含两个以上的collectionview)

我使用UICollectionReusableView作为标题,CollectionviewCell作为显示单元。我想在collectionview单元格中设置交错视图

我尝试过使用布局自定义,但此时UICollectionReusableView会自动删除。(将collectionview布局属性布局设置为自定义而不是流)

你能告诉我如何实现上述功能吗

(UICollectionReusableView视图包含两个以上的collectionview)