remove 'alpha lowered' of disabled uibutton

67 views Asked by At

Every time I disable a UIButton. E.g. button1.enabled = NO; The UIButton sets it's alpha to 0.4 or something. But I don't want this! Can I turn this off?

Thanks!

1

There are 1 answers

0
Vince On

I fixed it by implementing a integer which gives the button permission to perform an action. This is of course not the solution but maybe it can help you too.