ZLCollectionView icon indicating copy to clipboard operation
ZLCollectionView copied to clipboard

请问下demo运行警告怎么去掉呢

Open LH0120 opened this issue 2 years ago • 1 comments

Changing the translatesAutoresizingMaskIntoConstraints property of a UICollectionReusableView that is managed by a UICollectionView is not supported, and will result in incorrect self-sizing. View: <ZLCollectionReusableView: 0x7fc6e0a243d0; baseClass = UICollectionReusableView; frame = (0 198.72; 414 992.5); layer = <CALayer: 0x600000b505c0>>

LH0120 avatar Oct 11 '22 06:10 LH0120

在ZLCollectionReusableView.m里面,有autolayout布局的代码,之前不会警告,用masonry是不会,但是又不希望引入masonry,你知道怎么写吗?

czl0325 avatar Oct 13 '22 01:10 czl0325