when you tap the tutorial really fast the app crashes. This happens because the cleanup method is called before all animations did finish. I fixed this issue by implementing the Quartzcore framework and add the line [UIView setAnimationDelegate:self] in the init method. Then I added the two methods
Hi,
when you tap the tutorial really fast the app crashes. This happens because the cleanup method is called before all animations did finish. I fixed this issue by implementing the Quartzcore framework and add the line [UIView setAnimationDelegate:self] in the init method. Then I added the two methods
This allows me to set a BOOL isAnimting whenever the animation starts or stops.
Then I changed the swipeOrStopTapInWindow method like this:
-(void)swipeOrTapInWindow:(UISwipeGestureRecognizer*)sender {
warning animation should stop before running this line
}
Maybe you can try this and add this to your code.
Kind regards
David