6 posts tagged with UIPercentDrivenInteractiveTransition

Interactive Transitions

In my previous post, I explained how to create custom animated transitions. This time, I’m going to show how to make interactive transitions.

As a quick review from last time, there are three main roles involved in an animated transition: the from and to view controllers and the animation controller. In a non-interactive transition, the animation controller defines a duration and sets up the animations between the two views. Both views are placed inside of a container view during the transition.

Interactive transitions build on this structure by adding a fourth role: the interaction controller. This new role is played by an object that conforms to the UIViewControllerInteractiveTransitioning protocol.

Continue reading “Interactive Transitions” »