Skip to content
Discussion options

You must be logged in to vote

Hello @Ronnydalinseri,

Thank you for asking the question. To run an animation you need to call layoutIfNeeded within the animation block:

[UIView animateWithDuration:0.333 animations:^{
    [myQuickLayoutView layoutIfNeeded];
}];

If the myQuickLayoutView has changed just before the animation, you also need to call setNeedsLayout.

Replies: 1 comment

Comment options

You must be logged in to vote
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
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #15 on January 15, 2026 10:37.