---
title: "configureWithDefault(for:)"
framework: uikit
role: symbol
role_heading: Instance Method
path: "uikit/uitabbaritemappearance/configurewithdefault(for:)"
---

# configureWithDefault(for:)

Configures the tab bar item appearance object with appropriate values for the specified style.

## Declaration

```swift
func configureWithDefault(for style: UITabBarItemAppearance.Style)
```

## Parameters

- `style`: The layout style for the appearance attributes. UIKit configures the object with the default appearance attributes for the specified style. For a list of possible values, see doc://com.apple.uikit/documentation/UIKit/UITabBarItemAppearance/Style.

## See Also

### Resetting the appearance properties

- [UITabBarItemAppearance.Style](uikit/uitabbaritemappearance/style.md)
