Skip to content

Animation Question #15

Closed
Closed

Description

@ronny917

how to play animation with QuickLayout

Activity

  1. constantine-fry commented on Jan 15, 2026

    @constantine-fry
    Contributor

    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.

  2. locked and limited conversation to collaborators on Jan 15, 2026
  3. converted this issue into a discussion #16 on Jan 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions