Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

david77

macrumors regular
Original poster
Aug 1, 2008
210
0
When a button is set to disabled, does the transparency have to be set manually?
 

nickculbertson

macrumors regular
Nov 19, 2010
226
0
Nashville, TN
Yes but all you have to do is.

Code:
buttonname.hidden=YES; //equal to NO to show the button again
or
buttonname.alpha=0.0; //1.0 to show again

This works for UIButtons but buttons on tool/nav bar operate differently.

Nick
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.