How to change segmentcontrolled viewcontroller in iOS SDK4.2 (storyboard)? need sample code

I found this great code example, "Switching Views Using UISegmentedControl."

http://redartisan.com/blog?page=2

(sample code: http://github.com/crafterm/SegmentedControlRevisited )

but this code sample uses xib. I want to transcode it using a storyboard (no xib). Is there a similar code example somewhere?

+5
source share
1 answer

I did a little trick to do this in the storyboard.

SplitView Master Detail. , . : . , ( " " " " ).

"", "Second".

(First View , - ). segue - "".

+1

All Articles