I am making an iPhone app in which I am using date time picker and displaying the selected the date in a text filed. Now I want to update the textfield as there is change in selected date in date picker.
hOw can i do this. Give me some solution.
Thanks in advance.
You can be notified of
UIDatePickerchanges by simply adding a target & action for the control eventUIControlEventValueChanged. Check the UIDatePicker reference for more details.A simple implementation would look something like this:
and then…