Different opacity for UILabel and text for UILabel

I have one UILabelwhose opacity has been changed to blank with [UIColor clearColor] Now I want to change the opacity of the text inside the label to the full possible level. How to do it?

+5
source share
1 answer

Use the following code to change the opacity of the text. UILabel

[headerLabel setAlpha:0.5];

Happy coding .. :)

+4
source

All Articles