Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swiftui calendar

@State private var date = Date()

var body: some View {
    DatePicker(
        "Start Date",
        selection: $date,
        displayedComponents: [.date]
    )
    .datePickerStyle(.graphical)
}
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #swiftui #calendar
ADD COMMENT
Topic
Name
3+1 =