Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

imageView with CGAffineTransform #34

Open
Mirach0rus opened this issue Aug 2, 2018 · 1 comment
Open

imageView with CGAffineTransform #34

Mirach0rus opened this issue Aug 2, 2018 · 1 comment

Comments

@Mirach0rus
Copy link

Mirach0rus commented Aug 2, 2018

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

@LcTwisk
Copy link
Owner

LcTwisk commented Sep 8, 2018

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants