现在的位置: 首页 > 综合 > 正文

IOS突破限制–5

2017年10月20日 ⁄ 综合 ⁄ 共 196字 ⁄ 字号 评论关闭

给CollectionView添加Header和Footer。

CollectionView,没有直接的方法添加Header或者Footer。因为,在CollectionView里,它被成为supplementary views,分为两种,分别为:UICollectionElementKindSectionHeader和UICollectionElementKindSectionFooter。

【上篇】
【下篇】

抱歉!评论已关闭.