suggest change

UIDatePicker has various picker modes.

enum UIDatePickerMode : Int {
    case Time
    case Date
    case DateAndTime
    case CountDownTimer

Setting property datePickerMode

let datePicker = UIDatePicker(frame: CGRect(x: 0, y: 0, width: 320, height: 200)  
datePicker.datePickerMode = .Date

Feedback about page:

Optional: your email if you want me to get back to you:

Table Of Contents