---
title: "tabBarController(_:tab:acceptItemsFrom:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uitabbarcontrollerdelegate/tabbarcontroller(_:tab:acceptitemsfrom:)"
---

# tabBarController(_:tab:acceptItemsFrom:)

Notifies the delegate to perform a drop into the specified @c tab from the specified session.

## Declaration

```swift
optional func tabBarController(_ tabBarController: UITabBarController, tab: UITab, acceptItemsFrom session: any UIDropSession)
```

## Mentioned in

Elevating your iPad app with a tab bar and sidebar

## Discussion

Discussion This is only called if the operation returned from tabBarController:tab:operationForAcceptingItemsFromDropSession is valid for a drop.
