Skip to content

How do I animate a rotation of 360 degrees or more? #5

Description

@Sweeper777

Currently, .rotate(angle: 360) does not seem to rotate the view at all. I expected it to keep rotating the view clockwise until it reaches its original position. Is this not how it was designed? I have this workaround for now, but it's not nice:

transform(duration: 0.1, transforms: [
        .rotate(angle: 180)
    ]).then(animation: transform(duration: 0.1, transforms: [
        .rotate(angle: 180)
    ]))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions