有没有办法自定义所选分段的颜色UISegmentedControl?
UISegmentedControl
我找到了segmentedController.tintColor属性,它可以让我自定义整个分段控件的颜色.问题是,当我为tintColor属性选择亮色时,所选的段几乎变得不可识别(其颜色几乎与分段控件的其余部分相同,因此很难区分选定和未选择的段).所以我不能使用任何好的亮色进行分段控制.解决方案将是选定的段颜色的一些单独的属性,但我找不到它.有没人解决这个问题?
segmentedController.tintColor
tintColor
iphone colors uisegmentedcontrol
colors ×1
iphone ×1
uisegmentedcontrol ×1