(NSArray *)layoutAttributesForElementsInRect:(CGRect)rect{}
在自定义UICollectionView 的时候,调用
NSArray *array = [super layoutAttributesForElementsInRect:rect];
有谁知道为什么吗?
我自定义的是 UICollectionViewFlowLayout ,求助!!!
Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号
认证高级PHP讲师