UIDatePicker 初始化参数:模式 (Mode) 和样式 (Style)
UIDatePicker 的 'model' 是 UIDatePickerMode 枚举类型,用于指定日期选择器的模式,包括日期、时间、日期和时间等几种模式。
UIDatePicker 的 'style' 是 UIPickerViewStyle 枚举类型,用于指定日期选择器的样式,包括普通样式和内联样式。
原文地址: https://www.cveoy.top/t/topic/pe7j 著作权归作者所有。请勿转载和采集!