Using Xcode 4.2 Storyboard, I’ve just created a segmented control in a view with two segments. I then ctrl-drag from each segment to a separate view to create two segues. It seems the developers forgot to distinguish between the segments though, since only one segue can be created; attempting to create a second to the ‘other’ control segment cause the first segue to be replaced by the second. Does anyone have a Storyboard workaround for this, or must I write the code manually?
Thank you.
4.2 has been publicly release now.
The problem can be solved with Storyboard using a custom segue. In the custom segue the segmented control can be tested to determine which controller to call. I have tested the following custom segue:
Note that I have not yet implemented the transition in case 0 (segment 0) which will transition to another controller with code similar to what is implemented in case 2.