I have a UISe开发者_如何学CgmentedControl
with a black tint so the selected element is not visually different to the other elements as iOS darkens the selected item and hence black remains unchanged. Does anyone know how to make the selected element a lighter color/shade without using undocumented methods? I have successfully achieved this with a graduated layer but there must be an easier way!
Here is an description how you can set an tintcolor for each segment.
http://www.framewreck.net/2010/07/custom-tintcolor-for-each-segment-of.html
精彩评论