1. Welcome to the new MacRumors forums. See our announcement and read our FAQ

Newb question - button transparency

Discussion in 'iPhone/iPad Programming' started by david77, Jun 2, 2011.

  1. macrumors regular

    When a button is set to disabled, does the transparency have to be set manually?
  2. macrumors regular


    Yes but all you have to do is.

    buttonname.hidden=YES; //equal to NO to show the button again
    buttonname.alpha=0.0; //1.0 to show again
    This works for UIButtons but buttons on tool/nav bar operate differently.


Share This Page