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: any UIViewControllerAnimatedTransitioning) -> (any 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.