Hi,
I am working in UIDatePicker iOS 14 with below config:
When I change the time value and the value smaller than the minimum date (Ex: 29 Dec 2020 at 12:00), the DatePicker updated UI but the value still keeps the minimum date. It's working normally in iOS 13: the date picker returns the minimum value when the change value is less than the minimum value.
Is this the bug of UIDatePicker in iOS?
I am working in UIDatePicker iOS 14 with below config:
Code Block datePicker.datePickerMode = .dateAndTime datePicker.preferredDatePickerStyle = .inline datePicker.minimumDate = Date() // 29 Dec 2020 at 14:00
When I change the time value and the value smaller than the minimum date (Ex: 29 Dec 2020 at 12:00), the DatePicker updated UI but the value still keeps the minimum date. It's working normally in iOS 13: the date picker returns the minimum value when the change value is less than the minimum value.
Is this the bug of UIDatePicker in iOS?