开发者_StackOverflow社区Is it possible to add a glow effect in a UISegmentedControl
like how its done in UIbutton
using setShowsTouchWhenHighlighted:YES
?
Thanks
The UISegmentControl is similar in that you can listen for events like UIControlEventTouchDown & UIControlEventTouchUpInside so you could add your own glow layer on top of the segmentcontrol view to give it that effect.
精彩评论