Instance Property

countDownDuration

The value displayed by the date picker when the mode property is set to show a countdown time.

Declaration

@property(nonatomic) NSTimeInterval countDownDuration;

Discussion

Use this property to get and set the currently selected value when the date picker’s mode property is set to UIDatePickerModeCountDownTimer. This property is of type NSTimeInterval and therefore is measured in seconds, although the date picker displays only hours and minutes. If the mode of the date picker is not UIDatePickerModeCountDownTimer, this value is undefined; refer instead to the date property. The default value is 0.0 and the maximum value is 23:59 (86,340 seconds).

See Also

Configuring Temporal Attributes

maximumDate

The maximum date that a date picker can show.

minimumDate

The minimum date that a date picker can show.

minuteInterval

The interval at which the date picker should display minutes.