diff --git a/Classes/AFKPageFlipper.m b/Classes/AFKPageFlipper.m index 3e1dd9c..2ca8d8c 100644 --- a/Classes/AFKPageFlipper.m +++ b/Classes/AFKPageFlipper.m @@ -180,6 +180,7 @@ - (void) cleanupFlip { } self.currentView.alpha = 1; + [self setUserInteractionEnabled:YES]; } @@ -199,6 +200,7 @@ - (void) setFlipProgress:(float) progress setDelegate:(BOOL) setDelegate animate endTransform = CATransform3DRotate(endTransform, newAngle, 0.0, 1.0, 0.0); [flipAnimationLayer removeAllAnimations]; + [self setUserInteractionEnabled:NO]; [CATransaction begin]; [CATransaction setAnimationDuration:duration];