UISegmentedControl selected segment color

Posted by Mike on Stack Overflow See other posts from Stack Overflow or by Mike
Published on 2010-02-16T03:56:45Z Indexed on 2010/03/30 11:43 UTC
Read the original article Hit count: 895

Filed under:
|
|

Is there any way to customize color of selected segment in UISegmentedControl?

I've found segmentedController.tintColor property, which lets me customize color of the whole segmented control. The problem is, when I select bright color for tintColor property, selected segment becomes almost unrecognizable (its color is almost the same as the rest of segmented control, so its hard to distinguish selected and unselected segments). So I cannot use any good bright colors for segmented control. The solution would be some separate property for selected segment color but I cannot find it. Did anyone solve this?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about uisegmentedcontrol