UIDatePicker for UITextField

iOS Tutorial


Hello Programmers and welcome back to my channel. In this video, we will learn how to use UIDatePicker as input for UITextField. UIDatePicker is similar to drop-down menu. It can be set to different input modes such as time, date, time/date, or timer.

Using UIDatePicker limits the user to input just time as compared to the keyboard where the user can input whatever he wishes.