how can I change the button colour when ever I click that button please help me out
A:
In the action which is executed, when you click the button just add the following line:
button.backgroundColor = [UIColor randomColor];
This gives the button a random color everytime you click it. ;-)
Sandro Meier
2010-07-14 09:07:43
run.backgroundColor = [UIColor redColor];it give error member'backgroundColor'in somthing not astructure or union
2010-07-14 09:35:26
run isn't something which has a background color
mbehan
2010-07-14 11:06:49