uialertview - How to disable alertview's button in iPhone? -


i have alert view having 2 buttons "ok" , "cancel" , textfield. want disable "ok" button until user enter text in textfield. how can this? in advance

you can create 2 buttons ok , cancel.then add 2 sub views in uialertview.now checking text(text length) in textfield,you can perform enable , disable actions.


Comments

Popular posts from this blog

linux - Mailx and Gmail nss config dir -

c# - Is it possible to remove an existing registration from Autofac container builder? -

php - Mysql PK and FK char(36) vs int(10) -