iOS collection header悬停效果的实现

2022-12-07  本文已影响0人  林希品

OC:
collectionViewFlowLayout.sectionHeadersPinToVisibleBounds = YES
collectionViewFlowLayout.sectionFootersPinToVisibleBounds = YES

swift
collectionViewFlowLayout.sectionHeadersPinToVisibleBounds = true
collectionViewFlowLayout.sectionFootersPinToVisibleBounds = true

上一篇 下一篇

猜你喜欢

热点阅读