One Logo Pool Ball
SwiftUI · IOS API REFERENCE

TabsPickerStyle

struct · iOS 27.0+ · SDK 27.1

struct TabsPickerStyle

A picker style that presents options as segmented tabs. On macOS, this style produces a segmented picker with a visual treatment that distinguishes tab navigation from value selection. On iOS, tvOS, and visionOS, the visual appearance matches that of the standard standard `.segmented` style. On all supported platforms, VoiceOver announces options as tabs. ```swift Picker("View", selection: $view) { Text("Events").tag(Views.events) Text("Reminders").tag(Views.reminders) } .pickerStyle(.tabs) ``` To apply this style to a picker, or to a view that contains pickers, use the ``View/pickerStyle(_:)`` modifier. You can also use ``PickerStyle/tabs`` to construct this style.

Members (1)

init · iOS 27.0+

init

TypeScript
static init(): TabsPickerStyle
Swift declaration
init()

Creates a tabs picker style.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUI types →