My question is about the date picker as a count down timer. I am trying to set the timer to zero, but it doesnt work. I have set the minimum date and also the normal date from the date picker. But he always shows me the chosen interval, as an example 5 minutes as standard. And the user isn't able to set all to zero.
var minDate = Calendar.current.date(bySettingHour: 0, minute: 0, second: 0, of: Date())
timePicker.minimumDate = minDate
timePicker.date = minDate!