Showing posts with label color. Show all posts
Showing posts with label color. Show all posts
Wednesday, March 13, 2013
Saturday, March 9, 2013
Tuesday, February 26, 2013
How to change the text color of a label by using RGB values without changing the background colour?
xCode interface builder:
When I try to change the color property of a label's text by using the RGB values, the background color also changes to the same value automatically.
in other words:
While setting the RGB values for text colour of labels, the background colour also changes unless we use the sliders.
How to make sure that only the color of text changes and not the background?
Saturday, February 23, 2013
Re: How to change the text color of a label by using RGB values without changing the background colour?
You can simply do this.
[labelname setTextColor:[UIColor colorWithRed:38/255.0f green:171/255.0f blue:226/255.0f alpha:1.0f]];
Subscribe to:
Comments (Atom)










