views:

45

answers:

1

Hi Is it Possible to add a glow effect in a UISegmentedControl like how its done in UIbutton using setShowsTouchWhenHighlighted:YES?

Thanks

A: 

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.

spin-docta