I am creating a picker view that is shown when the user taps on a text field. It works fine. But I want to dismiss the picker view when the user taps on the custom Done button. This is my code so far:I am creating a picker view that is shown when
I am creating a picker view that is shown when the user taps on a text field. It works fine. But I want to dismiss the picker view when the user taps on the custom Done button. This is my code so far:I am creating a picker view that is shown when