---
title: delegate
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uitabbar/delegate
---

# delegate

The tab bar’s delegate object.

## Declaration

```swift
weak var delegate: (any UITabBarDelegate)? { get set }
```

## Discussion

Discussion Use the delegate to track the selection of tab bar items and to respond to the user customization of the tab bar. The default value of this property is nil. For more information on how to implement the methods of this protocol, see UITabBarDelegate.

## See Also

### Customizing the tab bar behavior

- [UITabBarDelegate](uikit/uitabbardelegate.md)
