controller类不需要实现UICollectionViewDelegateFlowLayout这个协议呢?
UICollectionViewDelegateFlowLayout是继承自UICollectionViewDelegate,当我们设置了collectionView 的layout为UICollectionViewFlowLayout,设置collectionView的delegate就可以了哈
controller类不需要实现UICollectionViewDelegateFlowLayout这个协议呢?
UICollectionViewDelegateFlowLayout是继承自UICollectionViewDelegate,当我们设置了collectionView 的layout为UICollectionViewFlowLayout,设置collectionView的delegate就可以了哈
本文标题:UICollectionViewDelegateFlowLayo
本文链接:https://www.haomeiwen.com/subject/juyzqctx.html
网友评论