views:

220

answers:

1

I have added a custom UIButton. I am trying to disable the button,but the button hides. Please help

+1  A: 

Try:

myButton.enabled = NO;
myButton.hidden = NO;
lugte098
Thanks, i have disable the button using the syntax above..but the button vanishes from the view :(
Deepika
I edited my code, try it
lugte098
Thanks.. i'll try it.
Deepika
Thanks....its done
Deepika
glad to help! :)
lugte098