IOS: UIDatePicker โ€œdeletesโ€ dates outside min and max dates

I encoded a simple UIDatePicker with minimum and maximum dates.

I want the datepicker to NOT show inaccessible dates, and not just disable them.

In fact: you can scroll through all inaccessible dates, but when you relax on an inaccessible date, the date selection scrolls to the nearest available date, which is good but not good enough.

Expected: I would like to remove all inaccessible dates from datepicker, so scrolling them over them is not even enabled.

+7
ios uidatepicker
source share

No one has answered this question yet.

See related questions:

6
jQuery DatePicker Min Max dates
one
How can I add UviewPicker Subview with working user interaction
one
How to set the minimum date correctly and get the minimum date displayed on the selection screen?
one
Swift: unable to correctly process date function when subtracting date:
0
Please note if the minimum or maximum date falls into the UIDatePicker
0
Upper and lower limit for UIDatePicker
0
Is there a real way to change the text color of the selected date to UIDatePicker - Swift 3?
0
UIDatePicker invisble / unscrollable clock column in user table view table
0
UIDatePicker, dates beyond high and low are still visible
0
Minimum / Maximum Date UIDatePicker

All Articles