Instance Method

tabBarController(_:interactionControllerFor:)

Called to allow the delegate to return a UIViewControllerInteractiveTransitioning delegate object for use during an animated tab bar transition.

Declaration

optional func tabBarController(_ tabBarController: UITabBarController, interactionControllerFor animationController: UIViewControllerAnimatedTransitioning) -> UIViewControllerInteractiveTransitioning?

Parameters

tabBarController

The tab bar controller participating in the interactive, animated transition.

animationController

The noninteractive animation controller

Return Value

The UIViewControllerInteractiveTransitioning delegate object responsible for managing the user interaction in an animated tab bar transition.

See Also

Supporting Custom Tab Bar Transition Animations

func tabBarController(UITabBarController, animationControllerForTransitionFrom: UIViewController, to: UIViewController) -> UIViewControllerAnimatedTransitioning?

Called to allow the delegate to return a UIViewControllerAnimatedTransitioning delegate object for use during a noninteractive tab bar view controller transition.