Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在日期选择器视图中排除日期?如果是,我该怎么做?如果有办法让我只排除日期选择器中的日期,我不想创建一个年份数组。提前致谢!:)
使用 UIDatePicker 是不可能的。我建议UIPickerView您自己继承和实现它。
UIPickerView