yonat / MultiSelectSegmentedControl

UISegmentedControl remake that supports selecting multiple segments, vertical stacking, combining text and images.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Storyboard sorting is still not working.

carterminearIMT opened this issue · comments

When you do a simple thing like: have 2 segment controls and select a couple on the first one then do
[self.seg2 setSelectedSegmentIndexes:self.seg1.selectedSegmentIndexes];

it will not select the correct/identical segments as seg1

Ah, didn't think of that. I moved the order initialization to the first call to drawRect, and it seems to solve your use case.