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

Is there a way to render this view into a UIImage? #20

Open
ysoftware opened this issue May 12, 2017 · 1 comment
Open

Is there a way to render this view into a UIImage? #20

ysoftware opened this issue May 12, 2017 · 1 comment

Comments

@ysoftware
Copy link

ysoftware commented May 12, 2017

The title says it all, I need a way to apply transformation on a UImage, or better render the whole view as one.

Is there an easy way? Cause, transformView.layer.render(in: rect) won't work.

@ysoftware
Copy link
Author

ysoftware commented May 12, 2017

I sure was not the first to ask, sorry.
transformView.drawHierarchy(in: transformView.bounds, afterScreenUpdates: true) did the trick for me. Thank you for this awesome framework.

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

1 participant