How to do animation in UIView
[UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:1]; [UIView setAnimationDidStopSelector: @selector(animDone:finished:context:)]; [UIView setAnimationDelegate:self]; [UIView setAnimationTransition:UIViewAnimationTransitionCurlUp forView:myUIView cache:YES]; [myUIView addSubview:mySubView]; [UIView commitAnimations]; -(void)animDone:(NSString*) animationID finished:(BOOL) finished context:(void*) context { }
Log in to answer.
leothenerd 1:03 pm on December 21, 2009