iOS Animation with Swift Part 13: Interactive Transitions
UINavigationControllerDelegate Animator navigationController(navigationController:, Delegate interactionControllerForAnimationController:)
Interactive Transitions and Gestures View Controller Gesture Recognizer Transition Controller Create recognizer, add to view User pans didPan() callback perform segue forward didPan() Update animation
UIPercentDrivenInteractiveTransition startInteractiveTransition() fi nishInteractiveTransition() 0.25 0.5 0.75 0.0 1.0 updateInteractiveTransition(progress)
Demo: Interactive transition
Challenge Time!
Recommend
More recommend