How to set or change button background color on IBAction?

Try this (IBAction)OrBoton:(id)sender { UIButton *button = (UIButton *)sender; button setBackgroundColor:UIColor redColor; }.

Try this - (IBAction)OrBoton:(id)sender { UIButton *button = (UIButton *)sender; button setBackgroundColor:UIColor redColor; }.

– WhySoSerious Dec 18 '10 at 16:33 Interface builder. I can get the Tag of the pressed button but I can't put nothing to the button. – AlextaNET Dec 18 '10 at 16:41 Then why cant you create a object to that button assign the referencing outlet to that button in IB and change any property to that button.

Are you assigning the IBAction to many buttons or a single button. – WhySoSerious Dec 18 '10 at 16:47 25 Buttons... but I think I can get and put any property to the button pressed.. Isn't? – AlextaNET Dec 18 '10 at 16:51.

Xcode - How to set or change button background color on IBAction - Stack Overflow.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions