Commit bec5e987 authored by jzhang's avatar jzhang

适配UIDatePicker

parent 34f02226
......@@ -33,6 +33,11 @@
if (self) {
self.backgroundColor = [UIColor whiteColor];
self.autoresizingMask = UIViewAutoresizingFlexibleWidth;
if (@available(iOS 13.4, *)) {
self.preferredDatePickerStyle = UIDatePickerStyleWheels;
} else {
}
[self initBgView];
}
return self;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment