UIDatePicker *dp = [UIDatePicker new];

[dp addTarget:self action:@selector(updateDate:) forControlEvents:UIControlEventValueChanged];

[dp setDatePickerMode:UIDatePickerModeDate];

[textField setInputView:dp];

비밀글