这种方法不行:

pickerCtl = UIDatePicker(frame:pickerFrame)

但是这种却行

pickerCtl = UIDatePicker()

pickerCtl!.frame = pickerFrame

我觉得是ios的bug!

05-08 15:40