UIButton Transition Curl Up problem
- by Neurofluxation
Hello again SO peeps!
Basically, I am trying to UIViewAnimationTransitionCurlUp a UIButton. The animation
works perfectly but the button stays there.
i.e. The button curls up, but there is another instance of the button still underneath.
My code as follows:
[UIButton beginAnimations:nil context:nil];
[UIButton setAnimationDuration:0.5];
[UIButton setAnimationBeginsFromCurrentState:YES];
[UIButton setAnimationTransition:UIViewAnimationTransitionCurlUp forView:self.view cache:YES];
[UIButton commitAnimations];