Answers for "change the date picker text colour swift"

0

swiftui datepicker text color

@State private var date = Date()
DatePicker("Select a date",
           selection: $date, in: ...Date(), 
           displayedComponents: .date)
        .labelsHidden()
        .accentColor(.orange)
Posted by: Guest on May-05-2021

Code answers related to "Swift"

Browse Popular Code Answers by Language