This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void) initializeTextFieldInputView { | |
UIDatePicker *datePicker = [[UIDatePicker alloc] initWithFrame:CGRectZero]; | |
datePicker.datePickerMode = UIDatePickerModeDate; | |
datePicker.minuteInterval = 5; | |
datePicker.backgroundColor = [UIColor whiteColor]; | |
[datePicker addTarget:self action:@selector(dateUpdated:) forControlEvents:UIControlEventValueChanged]; | |
self.textField.inputView = datePicker; | |
//Add done button |