Closed MikeZTM closed 4 years ago
Any update on this issue? Might get urgent with the release of iOS 14.
In ActionSheetDatePicker.m
inside - (UIView *)configuredPickerView
add
if (@available(iOS 14, *)) { [datePicker setPreferredDatePickerStyle:UIDatePickerStyleWheels]; }
@bb-git Thank you. Would you mind to make a pull request?
@bb-git You can now set the datePickerStyle
in the ActionSheetDatePicker.h
.
iOS 14 changed the style of UIDatePicker and need extra preferredDatePickerStyle to be set to have wheel style like before.
Right now it default to automatic which looks like a button with a popup date picker on click.