UICollectionView 设置Header悬停
设置header悬停
let layout = collectionView.collectionViewLayout as! UICollectionViewFlowLayout
layout.sectionHeadersPinToVisibleBounds = true
let layout = collectionView.collectionViewLayout as! UICollectionViewFlowLayout
layout.sectionHeadersPinToVisibleBounds = true
本文标题:UICollectionView 设置Header悬停
本文链接:https://www.haomeiwen.com/subject/pdtwxqtx.html
网友评论