Can i customize UIDatePicker? [duplicate]
问题 This question already has an answer here : Closed 6 years ago . Possible Duplicate: How to customize the UIDatePicker I need to customize UIDatePicker as we do support a variety of date formats like dd-MM-yyyy , dd-MM-yyyy HH:mm:ss , dd-MM . E.g. in "date and time" picker mode, there is no roller for year part in picker.Hence the provided picker modes are not sufficient. Is there any way to customize a datepicker for the desired formats. 回答1: Absolutely! You cannot do this with UIDatePicker