As soon as I scroll the PickerView (or) UIDatePicker, I need the value to get displayed on a TextField :
-
While Scrolling. Even when the picker is moving the text field should update itself. Is it possible ?
-
On the event that the Picker stops moving and comes to rest. Is there an event for the PickerView to come to rest so that I could update the textField (as soon as the pickerView comes to rest).
// I do not wish to use the TextFieldDidEndEditing // I want the textField to update itself when the picker view comes to rest.
It would be helpful if anyone could solve 1) and 2)
(1) might not be possible. For (2), you can use the delegate method
pickerView:didSelectRow:inComponent. Let me know if you need any help with this.For
UIPickerView(1) Implement
pickerView:titleForRow:forComponent,(2) This is more obvious.