Not able to customize UIDatePicker in compact or inline mode

Number:rdar://FB9717839 Date Originated:Oct 21, 2021
Status:Open Resolved:
Product:iOS - UIKit Product Version:iOS 14+
Classification: Reproducible:Always
Not able to change the font style or color on UIDatePicker in compact or inline mode. Setting "datePickerObject.backgroundColor = .white" does not do anything. Same with changing the text color - "datePickerObject.setValue(, forKeyPath: "textColor")" does not do anything.


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!