---
title: "tabBar(_:willBeginCustomizing:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uitabbardelegate/tabbar(_:willbegincustomizing:)"
---

# tabBar(_:willBeginCustomizing:)

Sent to the delegate before the customizing modal view is displayed.

## Declaration

```swift
optional func tabBar(_ tabBar: UITabBar, willBeginCustomizing items: [UITabBarItem])
```

## Parameters

- `tabBar`: The tab bar that is being customized.
- `items`: The items on the customizing modal view.

## Discussion

Discussion Use the beginCustomizingItems(_:) method of UITabBar to display the customizing modal view and begin the customizing mode.

## See Also

### Customizing tab bars

- [tabBar(_:didBeginCustomizing:)](uikit/uitabbardelegate/tabbar(_:didbegincustomizing:).md)
- [tabBar(_:willEndCustomizing:changed:)](uikit/uitabbardelegate/tabbar(_:willendcustomizing:changed:).md)
- [tabBar(_:didEndCustomizing:changed:)](uikit/uitabbardelegate/tabbar(_:didendcustomizing:changed:).md)
- [tabBar(_:didSelect:)](uikit/uitabbardelegate/tabbar(_:didselect:).md)
