Reputation: 1457
I have an NSTIMER
that counts the time, and on t = 10, it fires an animation but during that time it might happen that another animation is running. This causes the previously running animation to cut off.
Any idea? i thought UIVIEW animations were ran in diff threads. I cannot use a willstop selector here since t = 10 might happen while another animation is running and might not have ended yet.
Upvotes: 4
Views: 486
Reputation: 163228
You need to call [UIView setAnimationBeginsFromCurrentState:YES];
Upvotes: 4