WheelDatePickerStyle
A date picker style that displays each component as columns in a scrollable wheel
Platform Compatibility
iOS 13.0+ iPadOS 13.0+ watchOS 10.0+ visionOS 1.0+
Tags
SwiftUI Code
@State var date = Date()
var body: some View {
DatePicker("Select Date", selection: $date)
.datePickerStyle(.wheel)
.padding(.horizontal)
}
Found an issue or have a suggestion?
Created: June 4, 2025Updated: June 4, 2025