Hi Team, In my application I have customised a UIDatePicker (set custom color for selected date) that was working correctly in iOS 15.5 and lower versions but when I run the app in iOS 16 beta, I don't see my settings for current date is working. Check the following code currently Im using,
datePicker.datePickerMode = .date
datePicker.calendar = .current
datePicker.timeZone = TimeZone(secondsFromGMT: 0)
if #available(iOS 13.4, *) {
datePicker.preferredDatePickerStyle = .wheels
}
datePicker.setValue(UIColor.systemPink, forKeyPath: "textColor")
datePicker.setValue(false, forKey: "highlightsToday")
Please find the screenshot for more information and kindly share your feedback if any. Thanks in advance.