Skip to content

imageView with CGAffineTransform #34

Open

Description

@Mirach0rus

How can I apply CGAffineTransform to imageView ImageViewerConfiguration ?
I try this

let configuration = ImageViewerConfiguration { config in
            config.imageView = imageView // my UImageView
            let angle: CGFloat = (270.0 * CGFloat.pi/180.0)
            config.imageView?.transform = CGAffineTransform(rotationAngle: angle)
}

but no effect

Activity

  1. LcTwisk commented on Sep 8, 2018

    @LcTwisk
    Owner

    What kind of behaviour did you expect?

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

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions