I have a UIPickerView connected to UITextField's input view. It appears to me. I know when the user selects a row. I know the value for the string. All this is great.
My question is when to reject the collector. I saw people marry a toolbar using [Cancel] and [Finish] to the collector and discard it when any button is pressed. This is probably the best approach, as the user may opt out.
I also saw one application in which the user scrolls the desired selection and then clicks it again to cancel the selector. I would like to know how to do this. I noticed that after the collector informs you of the selected line, it will not inform you again if the user continues to click / click on the same active line.
- (void)pickerView:(UIPickerView *)pickerView didSelectRow:(NSInteger)row inComponent:(NSInteger)component
Userdano
source share