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 the UIButton
will be shown. Only the clicked event will not work.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With