iPhone card like flipping animation
问题 I'm trying to create a card flipping animation on iOS, and I'm failing miserably. Basically I have a global View with a Controller. Inside I have a holderView, which contains the card. I have the front of the card, which is the mainView, and then the back of the card, which is a flipSideView. I have tried doing something like this: [UIView animateWithDuration:1.0 delay:0 options:UIModalTransitionStyleFlipHorizontal animations:^{ NSLog(@"started"); [mainView removeFromSuperview]; [holderView