I have this normal UIDatePicker (sorry that it\'s not in English, please ignore that):
UIDatePicker
Try this -
datePicker.preferredDatePickerStyle = .inline