Hot to Play Animations with QuickLayout? #16
Answered
by
constantine-fry
Ronnydalinseri
asked this question in
Q&A
-
|
how to play animation with QuickLayout |
Beta Was this translation helpful? Give feedback.
Answered by
constantine-fry
Jan 15, 2026
Replies: 1 comment
-
|
Hello @Ronnydalinseri, Thank you for asking the question. To run an animation you need to call [UIView animateWithDuration:0.333 animations:^{
[myQuickLayoutView layoutIfNeeded];
}];If the |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
constantine-fry
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello @Ronnydalinseri,
Thank you for asking the question. To run an animation you need to call
layoutIfNeededwithin the animation block:If the
myQuickLayoutViewhas changed just before the animation, you also need to callsetNeedsLayout.