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

Flip is slow on iPad 3. #26

Open
atomicaxis opened this issue Feb 22, 2013 · 1 comment
Open

Flip is slow on iPad 3. #26

atomicaxis opened this issue Feb 22, 2013 · 1 comment

Comments

@atomicaxis
Copy link

This is more of a comment then an actual bug but because of the retina display, "[self.layer renderInContext:UIGraphicsGetCurrentContext()];" is very slow causing a bad user experience.
We are wondering if there would be a way around it besides pre-loading/caching.
Thanks in advance for your feedback.

@matiasvillaverde
Copy link

try to replace it for this:

if ([self respondsToSelector:@selector(drawViewHierarchyInRect:afterScreenUpdates:)]) [self drawViewHierarchyInRect:self.bounds afterScreenUpdates:YES]; else [self.layer renderInContext:UIGraphicsGetCurrentContext()];

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