Count Down Duration
suggest changeThe countDownDuration property is an NSTimeInterval, the number of seconds the date picker counts down in countdown-timer mode. If the mode is not countDownTimer, the value is ignored. The documented maximum is 86,399 seconds (23 hours, 59 minutes, and 59 seconds).
let datePicker = UIDatePicker(frame: CGRect(x: 0, y: 0, width: 320, height: 200))
datePicker.countDownDuration = 60 * 60
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents