The value displayed by the date picker when the mode property is set to show a countdown time.
SDKs
- iOS 2.0+
- Mac Catalyst 13.0+
Framework
- UIKit
Declaration
var countDownDuration: Time Interval { get set }
Discussion
Use this property to get and set the currently selected value when the date picker’s mode property is set to UIDate
. This property is of type Time
and therefore is measured in seconds, although the date picker displays only hours and minutes. If the mode of the date picker is not UIDate
, 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).