Count Down Duration

suggest change

The 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

Feedback about page:

Feedback:
Optional: your email if you want me to get back to you:



Table Of Contents