[英]UISegmentedControl Glow effect
Is it possible to add a glow effect in a UISegmentedControl
like how its done in UIbutton
using setShowsTouchWhenHighlighted:YES
? 是否可以像使用
setShowsTouchWhenHighlighted:YES
在UIbutton
完成的那样在UISegmentedControl
添加发光效果 ?
Thanks 谢谢
UISegmentControl的相似之处在于,您可以侦听UIControlEventTouchDown和UIControlEventTouchUpInside之类的事件,因此可以在segmentControl视图的顶部添加自己的发光层以达到这种效果。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.