I have a button that if a circumstance happens I would like for it to be “disabled” without the button getting its alpha reduced. since setting the buttons enabled property to false changes the alpha to about 0.6 I have an if statement set up in the method that gets called then the button is pressed to ignore the rest of the function. The problem is that the button this “dims” when clicked. I would like the button not to change at all, no dimming, no function calling, etc. I want the button to act as if it was disabled but with full alpha. How can I achieve this?
Share
Set userInteraction to false as follows: