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

在iOS 14的系统上 放在collectionview的headview上不会自动滚动 ? 请设置Frame的时候用int类型 不要用float浮点数 #728

Open
snail21 opened this issue Jun 16, 2023 · 4 comments

Comments

@snail21
Copy link

snail21 commented Jun 16, 2023

No description provided.

@chinaiOSSwift
Copy link

chinaiOSSwift commented Jun 16, 2023 via email

@snail21
Copy link
Author

snail21 commented Jun 16, 2023

请设置Frame的时候用int类型 不要用float浮点数

@snail21 snail21 changed the title 在iOS 14的系统上 放在collectionview的headview上不会自动滚动 在iOS 14的系统上 放在collectionview的headview上不会自动滚动 ? 请设置Frame的时候用int类型 不要用float浮点数 Jun 16, 2023
@JoyHopes
Copy link

JoyHopes commented Nov 5, 2024

通过测试发现,确实不能设置浮点型,用int自动滚动就正常了,但是这样跟UI设计又有点冲突,不满足自适应

@chinaiOSSwift
Copy link

chinaiOSSwift commented Nov 5, 2024 via email

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

3 participants