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

How to get Screenshot of this animation.....? #36

Open
SidduIOS opened this issue Mar 20, 2017 · 0 comments
Open

How to get Screenshot of this animation.....? #36

SidduIOS opened this issue Mar 20, 2017 · 0 comments

Comments

@SidduIOS
Copy link

SidduIOS commented Mar 20, 2017

Here is my code.

UIGraphicsBeginImageContextWithOptions(editingView.bounds.size, NO, 0.0);
[editingView drawViewHierarchyInRect:editingView.bounds afterScreenUpdates:NO];
UIImage *image = UIGraphicsGetImageFromCurrentImageContext();
UIGraphicsEndImageContext();

if i write like this, I am miss snapshot data. If I replace afterScreenUpdates is YES screen is blinking and updating. even i didn't get my desire output. can any one help me on this issue.?

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