Is it even possible to change a UIButtons background color??
Posted
by dubbeat
on Stack Overflow
See other posts from Stack Overflow
or by dubbeat
Published on 2010-05-11T07:49:58Z
Indexed on
2010/05/11
7:54 UTC
Read the original article
Hit count: 208
Hey,
This one has me stumped.
Is it possible at all to change the background color of a UIButton in Cocoa for iphone. I've tried setting the background color but it only changes the corners. SetBackgroundColor seems to be the only method available for such things.
Please refer to my screen shot
[random setBackgroundColor:[UIColor blueColor]];
[random.titleLabel setBackgroundColor:[UIColor blueColor]];
© Stack Overflow or respective owner