Hi all,
After setting the animations for a view,you need to commit the animations.
After setting the animations for a view,you need to commit the animations.
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:0.3f];
[UIView setAnimationDelegate:self];
[UIView commitAnimations];
Otherwise those animations will be applied to all the next views so that the entire project will be effected by unrelated and unhandled animations.
No comments:
Post a Comment