Default selected Index is not showing if its not 0
mhamidg opened this issue · comments
Please add the fix in the code:
let thumbViewPositionX = selectedSegmentIndex == 0 ? padding : bounds.width / CGFloat(buttons.count) * CGFloat(selectedSegmentIndex) + padding
Under the method:
private func setThumbView() {
Sorry about being late. I will check and get back to you
Is it any chance to fix this bug?
I am unable to set selectedIndex = 1 and its not working..any chance to get the function fixed?
Works fine for me..