[UIView beginAnimations:nil context:NULL]; [UIView setAnimationDuration:1.0]; // [UIView commitAnimations];
view.transform = CGAffineTransformMakeRotation(M_PI_2);
UIView *fromView = vc.view; UIView *toView = vvc.view; [UIView transitionFromView:fromView toView:toView duration:1.0f options:UIViewAnimationOptionTransitionFlipFromRight completion:^(BOOL finished){}];