---
title: "tabViewStyle(_:)"
framework: swiftui
role: symbol
role_heading: Instance Method
path: "swiftui/view/tabviewstyle(_:)"
---

# tabViewStyle(_:)

Sets the style for the tab view within the current environment.

## Declaration

```swift
nonisolated func tabViewStyle<S>(_ style: S) -> some View where S : TabViewStyle

```

## Parameters

- `style`: The style to apply to this tab view.

## See Also

### Presenting views in tabs

- [Enhancing your app’s content with tab navigation](swiftui/enhancing-your-app-content-with-tab-navigation.md)
- [TabView](swiftui/tabview.md)
- [Tab](swiftui/tab.md)
- [TabRole](swiftui/tabrole.md)
- [TabSection](swiftui/tabsection.md)
