DatePickerDialog-iOS-Swift
DatePickerDialog-iOS-Swift copied to clipboard
iOS 14 handling preferredDatePickerStyle
Hi, DatePickerDialog will be having issue especially in iOS 14, as preferredDatePickerStyle by default is in compact mode, new picker style will be inline, any idea to fix ?
Hi, just insert:
if #available(iOS 13.4, *) { datePicker.preferredDatePickerStyle = .wheels }
in the show function.
yes. It would be nice to prepare pod update with this line just in the lib
https://github.com/squimer/DatePickerDialog-iOS-Swift/pull/113