Contents

minimumDate

The minimum date that a date picker can show.

Declaration

var minimumDate: Date? { get set }

Discussion

Use this property to configure the minimum date that’s selected in the date picker interface. The property contains an NSDate object or nil (the default), which means no minimum date. This property, along with the maximumDate property, lets you specify a valid date range. If the minimum date value is greater than the maximum date value, both properties are ignored. The minimum and maximum dates are also ignored in the countdown-timer mode (UIDatePicker.Mode.countDownTimer).

See Also

Configuring temporal attributes