-
Notifications
You must be signed in to change notification settings - Fork 38
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
How to solve flicker? #10
Comments
This code will be a brief flicker effect after After trying to setNeedsLayout(), layoutIfNeeded() also cannot solve |
你好,看您的代码我发现了一些问题:
|
@nerdycat 谢谢指正, 但是 ImageView 设置了宽高比, contentView 设置了 fill ,显示出来没有问题,是还需要给 imageView 设置一个固定的宽高吗? |
抱歉没注意到,那就不需要了。不知道您的问题解决了没? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The text was updated successfully, but these errors were encountered: