I have alert view having 2 buttons "OK" and "Cancel" and a textfield. Now i want to disable "OK" button until user enter some text in textfield. How can i do this? thanks in advance
You can create two buttons for Ok and Cancel.Then add those two as sub views in the UIAlertView.Now by checking the text(text length) in the textfield,You can perform enable and disable actions.