Programmatically create UICollectionView with custom headers

后端 未结 4 1234
予麋鹿
予麋鹿 2020-12-29 22:39

I\'m making an iOS app in swift, and I\'m trying to make a collectionView programmatically. I want to use my own subclass of UICollectionReusableView as a header for the Col

4条回答
  •  再見小時候
    2020-12-29 23:09

    Note that Swift 4.1 renames the ofKind: constant as UICollectionView.elementKindSectionHeader.

提交回复
热议问题