You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for your awesome library! I'm running into a bug where the selected segment background color persists sometimes after moving it to another segment (see below). Please help!
Code for implementation is below:
let segmentedControlTitles = ["Assistant","Itinerary","Chat"]
segmentedControl = TwicketSegmentedControl(frame: CGRect(x: UIScreen.main.bounds.width / 2 - 135, y: 20, width: 270, height: 40))
segmentedControl?.setSegmentItems(segmentedControlTitles)
segmentedControl?.delegate = self
segmentedControl?.segmentsBackgroundColor = UIColor.clear
segmentedControl?.isSliderShadowHidden = false
segmentedControl?.backgroundColor = .clear // This is important!
The text was updated successfully, but these errors were encountered:
Thanks for your awesome library! I'm running into a bug where the selected segment background color persists sometimes after moving it to another segment (see below). Please help!
Code for implementation is below:
let segmentedControlTitles = ["Assistant","Itinerary","Chat"]
segmentedControl = TwicketSegmentedControl(frame: CGRect(x: UIScreen.main.bounds.width / 2 - 135, y: 20, width: 270, height: 40))
segmentedControl?.setSegmentItems(segmentedControlTitles)
segmentedControl?.delegate = self
segmentedControl?.segmentsBackgroundColor = UIColor.clear
segmentedControl?.isSliderShadowHidden = false
segmentedControl?.backgroundColor = .clear // This is important!
The text was updated successfully, but these errors were encountered: