<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 13.1.0 -",
    "tvOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UITabBarControllerDelegate/tabBarController(_:interactionControllerFor:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:objc(pl)UITabBarControllerDelegate(im)tabBarController:interactionControllerForAnimationController:"
  },
  "title" : "tabBarController(_:interactionControllerFor:)"
}
-->

# tabBarController(_:interactionControllerFor:)

Called to allow the delegate to return a [`UIViewControllerInteractiveTransitioning`](/documentation/UIKit/UIViewControllerInteractiveTransitioning) delegate object for use during an animated tab bar transition.

```
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`](/documentation/UIKit/UIViewControllerInteractiveTransitioning) delegate object responsible for managing the user interaction in an animated tab bar transition.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)