DatePickerDialog-iOS-Swift icon indicating copy to clipboard operation
DatePickerDialog-iOS-Swift copied to clipboard

iOS 14 handling preferredDatePickerStyle

Open nicholaschong95 opened this issue 5 years ago • 2 comments

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 ?

nicholaschong95 avatar Aug 11 '20 10:08 nicholaschong95

Hi, just insert:

if #available(iOS 13.4, *) { datePicker.preferredDatePickerStyle = .wheels }

in the show function.

gmanenti avatar Sep 22 '20 16:09 gmanenti

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

lexin avatar Sep 24 '20 10:09 lexin