I am new to iPhone development.
In my application,
i want to disable the click event of button when it pressed first time by the user.
for that purpose
i tried
buttonname.Enable=FALSE;
But the image of button also goes washed like a disable.
i Want to show Image properly and button should be disabled, both at time.
what to do?
Please help me.
Thanks For Your Time.
Set
buttonname.userInteractionEnabled = NO;This will disable the action of the buttonname but theUIButtonwill be shown. Only the clicked event will not work.