I implemented my own custom animation using the UIViewControllerAnimatedTransitioning
protocol. However, this replaces the entire default push animation (including the navigation bar animation, and the new view sliding on top of the old one). I want to keep that stuff, and animate a simple UIView on top, which visualises how an item from the first view is being taken to the next.
我使用UIViewControllerAnimatedTransitioning协议实现了我自己的自定义动画。但是,这将替换整个默认推送动画(包括导航栏动画,以及在旧视图之上滑动的新视图)。我想保留那些东西,并在顶部制作一个简单的UIView动画,它可视化第一个视图中的项目如何被拍摄到下一个。
Is there a way to accomplish this?
有办法实现这个目标吗?
1 个解决方案
#1
1
There is an "annimateAlongSide" function .... think it belongs to the TransitionCoordinator. Check that out.
有一个“annimateAlongSide”函数....认为它属于TransitionCoordinator。检查出。
#1
1
There is an "annimateAlongSide" function .... think it belongs to the TransitionCoordinator. Check that out.
有一个“annimateAlongSide”函数....认为它属于TransitionCoordinator。检查出。