AlertViewController should not be dismissed when I enter empty AlertView textfield in iOS
<p>I have added a textfield in AlertViewController. I don't type anything in the textfield and enter the OK button meaning dismiss the alert view. How should I check the alert textfield length is zero so that alert button actions are disabled. Please help me...</p>