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

python - Does anyone know how to configure the hunpos wrapper class on nltk? -

mysql - How to insert just year and month into date field? -