mtabini / AFKPageFlipper

A simple 3-D page flip transition for iOS devices
Other
408 stars 86 forks source link

Flip is slow on iPad 3. #26

Open atomicaxis opened 11 years ago

atomicaxis commented 11 years ago

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 commented 8 years ago

try to replace it for this:

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