How to change the background color of segments of a segmented control?

Check out UISegmentedControl's tintcolor property (Apple documentation is linked for you).

Check out UISegmentedControl's tintcolor property (Apple documentation is linked for you). This only works is the style of the segmented control is UISegmentedControlStyleBar, though. Otherwise, you might be able to fake it by putting in colored background images via the - (void)setBackgroundImage:(UIImage *)backgroundImage forState:(UIControlState)state barMetrics:(UIBarMetrics)barMetrics method, but I've never tried this and don't know if this would do what you want.

The style of my control is plain – Xavi Valero Nov 25 at 11:21 I kind of figured your style wouldn't be bar style (since you were asking the question). Check out my edited answer (which talks about colored background images). This is a new API functionality available as of iOS 5.

I hope this info helps! – Michael Dautermann Nov 25 at 11:24 Thanks dude... Will try this out.. – Xavi Valero Nov 25 at 11:36.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions