开发者

How can I do horizontal flip of two views. Please, see the picture

开发者 https://www.devze.com 2023-03-15 10:43 出处:网络
There are a ViewControlle开发者_JS百科r = VC1, and two views , view1 = \"A\" , view2 = \"B\". View \"A\" do horizontal flip and turns to \"B\".

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.

How can I do horizontal flip of two views. Please, see the picture


[UIView transitionFromView:view1 toView:view2 duration:1.0 options: UIViewAnimationOptionTransitionFlipFromLeft
                    completion: ^(BOOL inFinished) {
                        //do any post animation actions here
                }];
0

精彩评论

暂无评论...
验证码 换一张
取 消