Today we will see how to give textfield in AlertController. And we will put condition that if users do not fills anything in the textfield, we will not dismiss it.

Full Code and Explanation here

Advertisements