---
title: "init(style:)"
framework: uikit
role: symbol
role_heading: Initializer
path: "uikit/uitabbaritemappearance/init(style:)"
---

# init(style:)

Creates an appearance object with appropriate default values for a tab bar, displaying its items with the specified layout style.

## Declaration

```swift
init(style: UITabBarItemAppearance.Style)
```

## Parameters

- `style`: The layout style for the appearance attributes. UIKit uses this value to configure the default appearance attributes. For a list of possible values, see doc://com.apple.uikit/documentation/UIKit/UITabBarItemAppearance/Style.

## Return Value

Return Value A new appearance object containing appropriate default values for the specified layout style.

## See Also

### Creating a tab bar item appearance object

- [init()](uikit/uitabbaritemappearance/init().md)
- [init(coder:)](uikit/uitabbaritemappearance/init(coder:).md)
