Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
LH0120 opened this issue Oct 11, 2022 · 1 comment
Open

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

LH0120 opened this issue Oct 11, 2022 · 1 comment

Comments

@LH0120
Copy link

LH0120 commented Oct 11, 2022

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>>

@czl0325
Copy link
Owner

czl0325 commented Oct 13, 2022

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants