GraphicalDatePickerStyle

A date picker style that displays an interactive calendar or clock

GraphicalDatePickerStyle - iOS Light Mode Preview

Platform Compatibility

iOS 14.0+ iPadOS 14.0+ macOS 10.15+ visionOS 1.0+

Tags

SwiftUI Code

Docs
 @State var date = Date()

    var body: some View {
        DatePicker("Select Date", selection: $date, displayedComponents: .date)
            .datePickerStyle(.graphical)
}

Found an issue or have a suggestion?

Created: June 4, 2025Updated: June 4, 2025