I have created UIDatePicker and added target for event UIControlEventValueChanged. Default value of the date picker is set to the current date.
Date picker is shown when I click into text field. Then user can select date, click outside the view controller with the date picker, it disappears and text field is set to the selected date.
Problem is when the user wants to select current(default) date. It is necessary to change value from and back to the default value. It is because the date picker fires UIControlEventValueChanged event. I want also to let the user decide, if he wants to fill the date value (if he just clicks outside the view control with date picker).
How is it possible to let the user select the default value of the date picker without changing the value from and back to the default value?