Reputation: 1620
I have a UILabel which should have transparency (alpha) = .6 but Text of UILable should have alpha = 1. is this possible? thanks for any suggestion in advance...
Upvotes: 3
Views: 478
Reputation: 1337
label.backgroundColor=[UIColor colorWithWhite:0 alpha:0.6];
label.textColor=[UIColor colorWithWhite:0 alpha:1];
Upvotes: 10