I am trying to convert an Apple DateCell application to use a UIPickerView instead of a UIDatePicker. I pulled out and replaced links to UIDatePicker using UIPickerView in the storyboard and in the whole code. There is still some possibility to link to DatePicker, but I'm at the point where I need to convert the dateAction method link from the "ValueChanged" event to UIDatePicker, and there is no "Send Events", which is why it is for UIPickerView. Does anyone have any suggestions on how I can add or simulate this "ValueChanged" event in my UIPickerView? In addition, any advice on converting the rest of the program to using UIPickerView would be very helpful.
- (IBAction)dateAction:(id)sender { NSIndexPath *targetedCellIndexPath = nil; if ([self hasInlineDatePicker]) {
}
source share