iOS翻牌效果

    - (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];  
    }  

编程技巧