i think we should check the type also (ie datePIckerMode) for UIDatePickerModeCountDownTimer, UIDatePickerModeDateAndTime, UIDatePickerModeDate cause all of them result in datepicker