问题
I have coded a simple UIDatePicker with minimum and max dates.
I want the datepicker to NOT show the unavailable dates, not only disable them.
Actual: you are able to scroll through all the unavailable dates, but when you rest on an unavailable date, the date picker scrolls to closest available date which is good but not good enough.
Expected: I would like to remove the unavailable dates all together from the datepicker, so that scrolling throught them is not even enabled.
来源:https://stackoverflow.com/questions/26289633/ios-uidatepicker-remove-dates-outside-min-and-max-dates