Reply to UIDatePicker iOS 14 compact remove default background Key value coding worked for me: datePicker.setValue(UIColor.white, forKey: "backgroundColor") Programming Languages Swift Apr ’21