I’ve got a UIButton that i want to look exactly the same when it’s in its disabled state as when it’s in its Normal state. Right now it has a slight greyed out look to it.
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Do not use enabled property or setEnabled:NO method, instead use:
That would prevent the button for being touched, but without changing his looks!
The other way is if your button is a custom button and has an image: