-
-
Notifications
You must be signed in to change notification settings - Fork 951
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UIDatePicker Style in iOS 14 #1074
Comments
Not a fix, but a workaround to revert back to the old scroll wheel style date/time picker. In XLFormDateCell.m, around line 200 is the method *-(void)setModeToDatePicker:(UIDatePicker )datePicker. At the start of that method add the following:
Can't guarantee it'll fix all your cases, but it certainly fixed all mine. |
This should also work if you want a wheel picker: if #available(iOS 13.4, *) {
row.cellConfigAtConfigure["datePicker.preferredDatePickerStyle"] = UIDatePickerStyle.wheels.rawValue
} |
I have added the above line. It does not seem to be working. I am not getting the traditional wheel picker. |
Fixed in #1078 |
The style of UIDatePicker has been updated in iOS 14. How to adjust the height of the embedded UIDatePicker in XLForm?
https://static01.imgkr.com/temp/499d2e1156bd4853a647053c0c583b96.PNG
The text was updated successfully, but these errors were encountered: