Flipped View, flipped classroom
Flip Viewby Wu xueying
CGContextRef context = UIGraphicsGetCurrentContext (); [UIView beginAnimations: nil context: context]; [UIView setAnimationTransition: UIViewAnimationTransitionFlipFromLeft forView: self. view cache: YES]; [UIView setAnimationCurve: UIViewAnimationCurveEaseInOut]; [UIView setAnimationDuration: 1.0]; [self. view exchangeSubviewAtIndex: 0 withSubviewAtIndex: 1]; [UIView commitAnimations];
How can we solve this problem? Two views are flipped. The background displays the previous view.
In another way, I think the multi-layer view Nesting is not very good. I have implemented such an effect and used a modal window, example: int styles [4] = {UIModalTransitionStyleCoverVertical, UIModalTransitionStyleCrossDissolve, callback, UIModalTransitionStylePartialCurl}; // page Switching Effect
How to keep the image view unchanged after 90 degrees of rotation, android
You can change ScaleAnimation with the rotation animation in tween.
There are also ways to change the image view, but it is useless if the imageview is not the main view.