- - (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];
- }
来源: http://www.phpxs.com/code/1005518/