开发者

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.

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜