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.