We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent af6d998 commit 9fe153dCopy full SHA for 9fe153d
Source/Rows/DateInlineRow.swift
@@ -36,7 +36,11 @@ extension DatePickerRowProtocol {
36
func configurePickerStyle(_ cell: DatePickerCell, _ mode: UIDatePicker.Mode = .dateAndTime) {
37
cell.datePicker.datePickerMode = mode
38
if #available(iOS 14.0, *) {
39
+ #if swift(>=5.3)
40
cell.datePicker.preferredDatePickerStyle = .inline
41
+ #else
42
+ cell.datePicker.preferredDatePickerStyle = .wheels
43
+ #endif
44
}
45
else if #available(iOS 13.4, *) {
46
cell.datePicker.preferredDatePickerStyle = .wheels
0 commit comments