- (IBAction)rotate:(id)sender { [UIView beginAnimations:@"View Filp" context:nil]; [UIView setAnimationDelay:0.25]; [UIView setAnimationCurve:UIViewAnimationCurveLinear]; [UIView setAnimationTransition:UIViewAnimationTransitionFlipFromLeft forView:_viewRotate cache:NO]; [UIView commitAnimations]; }