首页 > 代码库 > UIDatePicker,minimumDate,maximumDate

UIDatePicker,minimumDate,maximumDate

自己设置UIDatePicker的minimumDate或者是maximumDate是,默认在minimumDate,maximumDate区间之外的日期其实还是会显示,不过当我们选择了这个区间外的日期之后会自动滚回minimumDate,或者maximumDate。

所以还是像人家说的那样老老实实重置datepick的dateSource,和delegate.

http://stackoverflow.com/questions/18568096/remove-hide-rows-outside-minimum-maximum-date-range-of-uidatepicker

UIDatePicker,minimumDate,maximumDate