문제

in ios5 storyboards, UITabControllers come pre-made with two relationships for the First tab and Second tab.

Is it possible to do relationships like this for a UISegmentedControl ?

도움이 되었습니까?

해결책

No you can't do this with storyboards, you would need to write the code to switch between views manually. UITabBarController is what manages the display of multiple UIViewController instances via the use of a UITabBar. There is no UISegmentedControlController class.

To accomplish this, you will need two views in your view controller, and switch between them on the UISegmentedControl Value Changed event.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top