Can I apply a texture to UIToolbar?
Posted
by Ben
on Stack Overflow
See other posts from Stack Overflow
or by Ben
Published on 2010-03-26T01:28:34Z
Indexed on
2010/03/26
1:33 UTC
Read the original article
Hit count: 555
I tried doing this:
[toolbar setTint:[UIColor colorWithPatternImage:[UIImage imageNamed:@"thingFromMyBundle.png"]]];
but it just ended up black. At first I assumed you weren't allowed to "tint" with a texture, but I've seen apps recently that can do this. Am I missing something?
Thanks.
© Stack Overflow or respective owner