colorizing UIbuttons
Posted
by Joey
on Stack Overflow
See other posts from Stack Overflow
or by Joey
Published on 2010-05-03T05:56:19Z
Indexed on
2010/05/03
5:58 UTC
Read the original article
Hit count: 386
Does someone know how to colorize a UIButton (iphone)? I have a greyscale image with alpha that I want to colorize to various different colors. Setting things like background color only shade the entire image without respecting the alpha.
Is there a straightforward way to do this, or will I need to subclass UIButton and overload the drawRect method perhaps? Thanks.
© Stack Overflow or respective owner