iOS14 UIDatePicker只显示一行

iOS 14以后UIDatePicker显示错误


    if(@available(iOS 13.4, *)) {
        self.datePicker.preferredDatePickerStyle = UIDatePickerStyleWheels;
    }else{
    }

https://www.jianshu.com/p/3c684056cadf

你可能感兴趣的:(iOS14 UIDatePicker只显示一行)