Apple Watch SwiftUI layouts

Explore SwiftUI APIs, components, and modifiers with interactive Apple Watch previews, Swift code, and Apple documentation.

Picker(selection: $selection) {
    Text("1")
        .tag("1")
    Section("Bar") {
        Text("2")
            .tag("2")
    }
    Label("3", systemImage: "3.circle")
        .tag("3")
} label: {
    Label("Foo", systemImage: "hand.tap")
    Text("Bar")
} currentValueLabel: {
    Text("Selected: \(selection)")
}
.defaultWheelPickerItemHeight(48)
watchOS 6.0+

Every available Apple Watch screenshot for Wheel Picker Item Height.

1 views