From eda7aac118dcd7dccfcbcd05447273faa1306406 Mon Sep 17 00:00:00 2001 From: libreui Date: Wed, 30 Dec 2020 15:54:15 +0800 Subject: [PATCH] Update FormDateCell.swift --- SwiftForms/cells/FormDateCell.swift | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SwiftForms/cells/FormDateCell.swift b/SwiftForms/cells/FormDateCell.swift index 001c805..e0fa17f 100644 --- a/SwiftForms/cells/FormDateCell.swift +++ b/SwiftForms/cells/FormDateCell.swift @@ -37,6 +37,10 @@ open class FormDateCell: FormValueCell { titleLabel.text = rowDescriptor?.title + if #available(iOS 13.4, *) { + datePicker.preferredDatePickerStyle = .wheels + } + if let rowType = rowDescriptor?.type { switch rowType { case .date: