简体   繁体   中英

UIViewAnimationOptionTransitionCurlUp start from left bottom corner

I try to use method [UIView transitionFromView:toView:duration:options:completion:]; for change some images and hide some elements with UIViewAnimationOptionTransitionCurlUp (and UIViewAnimationOptionTransitionCurlDown in the reverse situation). It works, but I would like to start flipping from the bottom left corner.

Does anyone know a solution?

尝试将容器视图(已应用过渡的视图)的transform设置为CGAffineTransformMakeScale(-1,1)以翻转过渡效果,并在其内容视图上应用相同的transform以翻转内容。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM