How can I do horizontal flip of two views. Please, see the picture
There are a ViewControlle开发者_JS百科r = VC1, and two views , view1 = "A" , view2 = "B". View "A" do horizontal flip and turns to "B".
How do I solve the problem? Please, see the picture.
[UIView transitionFromView:view1 toView:view2 duration:1.0 options: UIViewAnimationOptionTransitionFlipFromLeft
completion: ^(BOOL inFinished) {
//do any post animation actions here
}];
精彩评论