Contents

tabBarController(_:tab:operationForAcceptingItemsFrom:)

Asks the delegate for a drop operation to determine if drag items can be dropped into the specified @c tab

Declaration

optional func tabBarController(_ tabBarController: UITabBarController, tab: UITab, operationForAcceptingItemsFrom session: any UIDropSession) -> UIDropOperation

Mentioned in

Discussion

If the operation is either a .move or .copy, then the drop will proceed and tabBarController:tab:acceptItemsFromDropSession: is called. By default, the drop will be treated as a cancel operation if this is not implemented.