Question : swiftui time picker
Answered by : tony-sacco
struct ContentView: View { @State private var currentDate = Date() var body: some View { DatePicker("", selection: $currentDate, displayedComponents: .hourAndMinute) .labelsHidden() }
}
Source : https://daddycoding.com/2019/12/18/swiftui-datepicker-timepicker/ | Last Update : Sun, 24 Jul 22