I dont know if anyone has encountered this, but I am almost convinced its a bug/weird way apple has implemented the the segment control.
Anyway here is the problem, I have two segment controls which are set up to call a method using the value changed selector. Inside that method I check which segment control is the sender and set the selectedSegmentIndex of the other segment control to UISegmentedControlNoSegment value (I do this because I only want one segment selected at once from both segement controllers)
What happens is when you try to click on a segment on the other control, you have to press on it twice in order for the segment to highlight. It works fine within the same segment control, but as soon as you press a segment in the other control you have to press on it twice before it highlights. Its as if you cant deselect one segcontrol and highlight another segment at the same method call, which makes no sense.
Anyway here is the problem, I have two segment controls which are set up to call a method using the value changed selector. Inside that method I check which segment control is the sender and set the selectedSegmentIndex of the other segment control to UISegmentedControlNoSegment value (I do this because I only want one segment selected at once from both segement controllers)
What happens is when you try to click on a segment on the other control, you have to press on it twice in order for the segment to highlight. It works fine within the same segment control, but as soon as you press a segment in the other control you have to press on it twice before it highlights. Its as if you cant deselect one segcontrol and highlight another segment at the same method call, which makes no sense.