Add a simple UIView as header of UICollectionView

前端 未结 3 658
执笔经年
执笔经年 2020-12-16 09:51

I have a UICollectionView. I would like to add a header. My header would only be a UILabel. I\'ve :

1) selected \"Section Header\" as a Col

3条回答
  •  -上瘾入骨i
    2020-12-16 10:29

    None of above works if you forgot to enable accessory in your XIB file, don't forget to activate your desired section!

提交回复
热议问题